Commit Graph

1165 Commits (3963969b89d80f0235b566441dcfec7d3797e276)

Author SHA1 Message Date
Rolo 785d09e38f feat(themes): add `ui.virtual.ruler` for `poimandres`
This change also propagates to `poimandres-storm`
7 months ago
Rolo 6fdc1d6a95 feat(themes): add `ui.virtual.ruler` for `varua` 7 months ago
Rolo c0aadfd4ce feat(themes): add `ui.virtual.ruler` for `vim_dark_high_contrast` 7 months ago
Rolo be8dc22272 feat(themes): add `ui.virtual.ruler` for `horizon-dark` 7 months ago
Rolo 4713eb06b1 refactor(themes): change `solarized_*` ruler to `bg`
Also changed the colors to better blend with the theme.
7 months ago
Rolo 6bdc6f460e refactor(themes): removed `ui.highlight` effects from `solarized_light`
This now matches `solarized_dark` changes from #10261
7 months ago
ves 97f683b336
Improve HTML highlighting (#10503) 7 months ago
Blaž Hrastnik f06a166962 Add Move language support 7 months ago
Daniel O'Brien 1d23796ad1
Fix kanagawa theme when using cursorline (#10500) 7 months ago
Gaëtan Lehmann ab203b5f53
update earthfile grammar and highlight queries (#10489) 7 months ago
Pascal Kuthe 1cce693bef
correctly describe behavior of C in tutor (#10465) 7 months ago
Clara Smyth 43dff1c772
Fix: Svelte queries (#10487) 7 months ago
Idobenhamo 68765f51c9
Support Typst 0.11 (#10321)
* Update the tree sitter to support Typst 0.11 and changed the lsp to Tinymist

* Fixed

* Added typst-lsp & tinymist

---------

Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
7 months ago
Alexis-Lapierre 8256ca7bc3
Add support for Xena OpenAutomation files (#10448)
Add support for .xtc/.xoa/.xpc files

* XTC stand for Xena Traffic Configuration
* XOA stand for Xena OpenAutomation
* XPC stand for Xena Port Configuration

Theses three file time seems to be the most common file extension I
encountered in the wild
7 months ago
Pedro Fedricci 0546273570
chore: update tree-sitter-rust to v0.21.0 (#10365)
* chore: update tree-sitter-rust to 0.21.0

* fix: pretty print and textobject tests
7 months ago
Sufian 1245760595
Add bufferline and cursorline colors to vim dark theme (#10444) 7 months ago
Matthew Toohey 081f7d0bd8
Update tree-sitter-ld and highlights (#10379) 7 months ago
Alexander Brevig 009a5498ca
add LDIF support (#10330)
* feat(lang): add LDIF support

* style: no unnecessary glob

* Update runtime/queries/ldif/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
7 months ago
Blaž Hrastnik 4fc0a4dafc Improve solidity highlighting 7 months ago
Josh Robson Chase 34c7eb4bd4
themes/monokai: add inlay-hint style (#10334)
Matching comment styling so that it doesn't get confused for actual
code.
7 months ago
VKondakoff c5e257b81c
Update nord.toml (#10307)
When "nord2" color is used in ui.selection it is almost invisible
if cursorline highlighting is enabled. Changing the color to "nord3" fixes the issue.
7 months ago
Valentin B b8ddb2f114
feat(solidity): add textobject queries for solidity (#10318)
* feat: add textobject queries for solidity

* feat(solidity): add parameter textobject query for call expressions

* feat(solidity): add more textobject queries for parameters

* feat(solidity): add yul function textobject query

* feat(solidity): add textobject query for emit statement arguments

* feat(solidity): add textobject query for revert call arguments

* feat(solidity): update tree-sitter grammar and fix typo

* docs: update auto-generated docs

* fix(solidity): fix identifiers highlight query priority

* feat(solidity): add "abstract" to keywords list

* feat(solidity): add highlight query for type alias

* feat(solidity): add variable builtin highlight queries
7 months ago
Yomain cf99615b43
material theme: fix statusline color (#10308) 7 months ago
RoloEdits ae85f5ff71
refactor(themes): removed `ui.highlight` effects from `solarized_dark` (#10261) 7 months ago
RoloEdits c499f9aa55
feat(themes): add ruler for `adwaita-dark` (#10260) 7 months ago
Bertrand Bousquet d180395461
Varua theme jump label support (#10299) 7 months ago
Yomain 1e7c01d75b
material theme: add diagnostics and other missing stuff (#10290) 7 months ago
Gary Miller 0da809c981
feat: Add ADL language support (#10029)
* feat: Add ADL language support

* removed error match & change captures to match https://docs.helix-editor.com/master/themes.html\#syntax-highlighting

* fixes to grammar, highlight changes based on PR and grammar fixes
7 months ago
Slug 97afd67fca
Add jump-label style for dark high contrast (#10102) 7 months ago
Matthew Toohey a2ee2e66f2
Add koka language server and update grammar (#10119) 7 months ago
Karem Abdul-Samad d053886fe3
Add new keyword as per PEP 695 (#10165) 7 months ago
Aito Stukas 5f44890176
Remove duplicate keyword highlight for Python 'and' (#10160) 7 months ago
Eloi Torrents 88f2931153
Add tcl highlighting (#9837)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
André Sá f16380d418
Add jumb label color to ayu themes (#10133) 8 months ago
Jens Getreu fa79ce59a0
Autumn theme: add jump label (#10134) 8 months ago
Angus Dippenaar e0ec34421b
languages: update templ (#10114) 8 months ago
Gaëtan Lehmann 226b2755fb
add earthfile language configuration (#10111) 8 months ago
Jesús González 96f7d73f3d
Add jump label support to Darcula themes (#10116) 8 months ago
Henrik Tjäder e63ed0579d
Theme: PaperColor: Tune jump-label (#10104) 8 months ago
Clément Delafargue 545ff1aac6
add support for jump labels in tokyonight themes (#10106) 8 months ago
Manuel Mendez 4b236f30db
Add Buildkite command/commands support to yaml injections (#10090)
* Use any-of instead of match in yaml injections

Go back to original intent when this code was first written now that the
tree-sitter version used supports any-of?.

* yaml/injections: Add injection for Buildkite

Buildkite uses `command` (`commands` is an alias) to define the
command(s) to run for the step.
8 months ago
Maksym Pavlenko 8635913f0e
Dim primary selection in kanagawa (#10094)
* [kanagawa] Change selection color

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>

* [kanagawa] Use less brigh selection color

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>

---------

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
8 months ago
Pawel Grzybek d56f3fb755
Add jump-label styling for base16 themes (#10076)
* add jump-label styling for base16_transparent theme

* keep the change consistent with other themes from base16 family

* update jump-labels color to blue and make them bold
8 months ago
Daniel S Poulin 1abb64e48d
Add textobject for entries/elements of list-like things (#8150) 8 months ago
Krishan 47ef9f0ca2
add new theme keys for LSP diagnostic tags (#10064) 8 months ago
ftqo 2f4572d91e
add flexoki theme (#10002)
* add flexoki theme

* change ruler color to bg-2
8 months ago
Ni 0c3bc46ac4
added ../gleam/injections.scm (#10062)
Co-authored-by: Ni <ni@superboring.net>
8 months ago
Erasin Wang 0da5865695
feat(themes): add `jump-label` for oneLight theme (#10061) 8 months ago
Pascal Eberhard 9a80f7203d
add initial support for bitbake language (#10010)
Signed-off-by: Pascal Eberhard <pascal.eberhard@se.com>
8 months ago
Abderrahmane TAHRI JOUTI 25d8e9445c
Add jump-label (#10058) 8 months ago
Dawid Ciężarkiewicz 825ae74b9e
chore: add "ui.virtual.jump-label" to solarized colorschemes (#10056) 8 months ago
Pedro Fedricci 96220cb632
feat(themes): add jump-label style for nightfox (#10052) 8 months ago
Yannic Nuwenhof 787a237f8b
Add JetBrains default dark theme (#9967) 8 months ago
Yomain 381976a04c
fix: cursor line on material themes (#10043) 8 months ago
Joe 7ec509e2f9
Add injections for GraphQL and ERB in Ruby (#10036) 8 months ago
mlemesle c69ad7b3bf
Add jump-label to Kanagawa theme + format (#10030)
* Add jump-label to Kanagawa theme + format

* Remove bg color for jump-label

* Remove values alignment
8 months ago
Vladyslav Karasov f21efc7a2f
fix: don't highlight colons (:) in comments (#10014) 8 months ago
RoloEdits a6c6fa4c8e
feat(themes): add `jump-label` for gruvbox themes (#10012) 8 months ago
Ben Lee-Cohen cef839e477
feat: add jump format for monokai family (#10009)
Co-authored-by: Ben Lee-Cohen <ben@lee-cohen.com>
8 months ago
Ben Lee-Cohen 1e50fb8b55
Adding jump styles for Nord and Nord Light (#10008)
Co-authored-by: Ben Lee-Cohen <ben@lee-cohen.com>
8 months ago
Novus Nota 2d9e336f64
feat: Add `Ohm` language support (#9991)
* feat: Add `Ohm` language support

Hope this commit makes it into release :)

* Update runtime/queries/ohm/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* chore: final newline

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Armando Pérez Marqués 47995bfb0c
Add jump label color ("rosewater") to catppuccin themes (#9983) 8 months ago
Tobias Brunner 7bce9530d3
Add jump label color to rose-pine themes (#9981) 8 months ago
Florent Nuttens da2dec174a feat: add jump label color to onedark theme 8 months ago
Florent Nuttens 628dcd5c56 feat: add jump label color to dark plus theme 8 months ago
Florent Nuttens 2178adfe93 feat: add jump label color to catppuccin themes 8 months ago
ves 54fab657be
Add jump label color to horizon-dark theme (#9984) 8 months ago
Yomain 8f65bfe089
feat: add jump label color to dracula themes (#9973) 8 months ago
Pascal Kuthe b46064b8c4 Add an Amp-like jump command
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Carter Watson be307a4204
fix: undefined bufferline colors (#9960) 8 months ago
Michael Davis f5d95de227 C++: Improve parameter highlighting
This adds parameter highlighting for reference parameters and defaulted
parameters. For example:

```cpp
auto strip_prefix_only(std::string& s,
                       Hidden_Homonym skip_hidden_homonym = {}) const
    -> Affixing_Result<Prefix>;
```

Previously both parameters were only highlighted as variables.
8 months ago
Michael Davis c099dde2a7 Rust: Highlight extern crate aliases
For example `extern crate alloc as myalloc;`
8 months ago
Michael Davis 9ceeea5a83 Update tree-sitter-gleam and highlights
This contains a few syntax fixes. The highlights have been updated as
well for reserved identifiers and escape sequences
8 months ago
Michael Davis fdcd461e65 Update tree-sitter-erlang and highlights
A few changes:

* 0-arity type specs like the following previously would not have the
  expected 'variable.parameter' highlighting for the return type:

    -spec foo() -> Value when Value :: term().

* Highlight module, type and function docs as documentation comments
  and inject markdown into them.

* Replace `#match?` predicates with `#any-of?` where possible.

* Remove custom auto-pairs. Now that Erlang uses markdown for
  documentation, the asciidoc-style backtick-singlequote pair is no
  longer useful.
8 months ago
Michael Davis 961025433d Update tree-sitter-git-commit
This commit has partial support for escapes within strings.
8 months ago
JR 51739f1290
Create a tutor entry for using splits (#9417)
* WIP

* WIP

* WIP

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* WIP

* WIP

* WIP

* Fix typos

* Fix typos

* Minor updates

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Remove mention of arrows in split tutorial

* Do not mention starting in normal mode

* Fix right drift of titles

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Update runtime/tutor

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>

* Reflow paragraphs

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update runtime/tutor

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Jordan Reger 5ba36fe9b3
Update rasmus.toml (#9939)
* Update rasmus.toml

Remove "ui.virtual" setting as it selects seemingly random characters to highlight.

* Add ui.virtual.ruler
8 months ago
David Else 52a0734120
Add new theme keys for LSP diagnostic tags for dark_plus (#9949) 8 months ago
Arthur Deierlein 427dd2f383
Add support for ember.js templates (#9902)
* feat: add support for ember .hbs (glimmer) templates

* adjust highlights to helix

* highlight this correctly in block statements

* correctly highlight attributes

* correctly highlight hash_pair

* add newline to highlights.scm

* refactor: use #any-of and #eq instead of #match

* chore: add newline to languages.toml
8 months ago
Arthur Deierlein 4b4947639a
feat: add suport for helm charts (#9900) 8 months ago
Damian Zaręba 485c5cf0b8
Initial Ada language support (after stale) (#9908)
* Adding initial support for ada language, based off #7790 PR from tomekw

* More translation to helix-specific tree-sitter scm labels, add ada gpr switch to ada LSP

* Generate ada in lang-support.md using cargo xtask docgen

* Update tree-sitter definitions according to comments

* Remove .gpr glob from languages.toml

* Fix unit in languages.toml for ada, update locals.scm to helix needs
8 months ago
Arthur Deierlein 0b6dea6dc2
Enhance support for PKGBUILDS (#9909)
* enhance support for PKGBUILDS

* run cargo xtask docgen
8 months ago
Matthew Toohey 2e4653ea31
add koka language support (#8727)
Co-authored-by: Pascal Kuthe <pascal.kuthe@semimod.de>
8 months ago
Phil 94d210c9bf
Add initial support for SuperCollider (#9329) 8 months ago
Michael Davis 4ffe993533 Fix malformed predicates in highlighting queries 8 months ago
Joey Hain 476e6baf8f
Add textobject queries for vala (#8541) 8 months ago
Leonardo Eugênio d99b6177c2
Add blade support (#9513)
* Add php-only language config and queries

php-only is required enabling php injections like in blade templates

* Add blade templates support
8 months ago
Carsten Führmann eead105f94
Fix selected text background in toykonight (#9789)
Before the fix, the color that the original (Neovim) tokyonight uses for
Neovim's visual mode was used in Helix for highlighting the selected
item in the picker. But for the highlighting of selected _text_ in
Helix (corresponding to Neovim's visual mode), a much darker background
was used. This made it very hard to pick out selected text, in
particular in suboptimal lighting conditions.

I swapped the two colors, so that text selection now looks like in
Neovim, while selected items in the picker are highlighted a bit less
strongly. (But still easy to see because the whole line is highlighted.)
8 months ago
Erasin Wang 64389f97fe
Updated grammar for hurl 4 (#9775) 8 months ago
Benedikt Ritter f7913c1a3b
Extend groovy support (#9677)
* Extend groovy support

Use more complete parser introduced in nvm-treesitter in
d4dac523d2

* Update runtime/queries/groovy/locals.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Drop indent.scm for groovy

It was copied from the tree-sitter repository but is not
compatiblw with the way indent queries are implemented
in Helix.

* Adapt groovy highlights to helix syntax

* Update documentation

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Alexis Mousset 8457652da1
Update to modus-themes 4.4.0 (#9912) 8 months ago
George "Riye" Hollister e36774c2c8
Add Support for JSONC (#9906)
* Added `jsonc` language with support for comments

The `vscode-json-language-server` accepts `jsonc` as a language id.
Allowing the use of comments within JSON files.

* fix: Update `injdection-rejex` to be unique

* fix: use includes to remove redundant queries

* ci: Generate language-support docs
8 months ago
Arthur Deierlein 9ec0271873
Add support for hyprland config (#9899)
* feat: add hyprland config language

* adjust indents to helix

* adjust highlights to helix
8 months ago
Arthur Deierlein 61f7d9ce2f
fix typo "braket" in jsx highlights (#9910) 8 months ago
fnuttens 3915b04bd9
fix(themes-catppuccin): make inlay hints more legible (#9859) 8 months ago
Kalpaj Chaudhari c145999bff
treesitter: Add textobjects for native funcs and constructors (#9806)
This allows native functions and constructors to be accessible as part
of goto_{next,prev}_func.

Change-Id: Ia1234004e8b38e1c5871331a38fcf4f267da935e
8 months ago
Matthew Toohey e3c6c82828
add linker script language (#9835) 8 months ago
Alexander Brevig fd89c3c833
fix: close #9771 fix comments with `(` and `)` (#9800)
* fix: close #9771 update OCaml

* fix: no longer match on ( ) as the underlying grammar handles these

* fix: implement excellent corrections from review

* fix: module -> namespace to match theme scopes
8 months ago
Chris 301dfb07cc
Add PowerShell highlighting (#9827) 8 months ago
Michael Davis d769fadde0
Fix precedence of svelte typescript injection (#9777) 9 months ago