Commit Graph

1054 Commits (47995bfb0cf3b0bc232a87340c7a01ff26d45bbc)

Author SHA1 Message Date
Evan Richter a98b8ddd1a
add smali language support (#9089) 6 months ago
ves 06d7dc628e
theme: add horizon-dark (#9008) 6 months ago
Matouš Dzivjak 80dd585966
feat(themes): add modus vivendi theme(s) (#8894) 6 months ago
JJ c56cd6ee8b
Add support for Agda (#8285)
* agda language support (wip)

* improve highlights

* disable agda-language-server

* minor addendum to documentation

* cargo xtask docgen

* oh i can just do this neat

* minor comment cleanup

* upstream updated

* imports: missed a spot

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
7 months ago
Daniel Ebert 33d85606cf Add alignment indent queries for binary & ternary expressions in C. 7 months ago
Daniel Ebert 3e79a35656 Align arguments in a function call in C.
Since the tree-sitter grammar is not very good
at parsing function calls while they're being written,
this is not yet super useful.
However, it prevents the new `hybrid` indent heuristic
from choosing these lines as a baseline, making it
more robust.
7 months ago
Susheel Thapa 23fd145a56
fix: typo in scm files inside runtime/queries/ (#8630) 7 months ago
JR e332c7d875
Add tutor for match mode (#8751)
* Add tutor for match mode

* Improve the surround tutor

* Add missing == in header

* Reflow

* 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>

* Apply feedback

---------

Co-authored-by: David Else <12832280+David-Else@users.noreply.github.com>
7 months ago
Jesús González f1e34ce5a2
Specify BG and FG cursor colors in Darcula themes (#9002) 7 months ago
Phil b4571c292e
Add initial support for janet-lang (#9081)
* Add initial support for janet-lang

* Use default roots for janet-lang
7 months ago
Frederick Schwalbe c3cb1795bf
Update gleam grammar and queries (#9003) 7 months ago
Jesús González 44c3d48a94
Add more accurate to official theme type highlighting to Darcula themes (#8738) 7 months ago
Niklas Alexander Shern ab763b3111
fix: update rose_pine to be identical to main repo (#8946) 7 months ago
Skyler Hawthorne fcd564fddf
upgrade tree-sitter-python (#8976)
supports new syntaxes from Python 3.12
7 months ago
Tudyx f8d261cd20
add log tree-sitter (#8916)
* add log tree-sitter

* better highlight queries
7 months ago
Alexis Mousset 090ed97e00
Add modus operandi themes (#8728) 7 months ago
ghashy ff095ebd9b
DBML Language support (#8860)
* DBML language support

* DBML language support, highlights.scm added

* DBML support

* Update runtime/queries/dbml/highlights.scm

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

* Update runtime/queries/dbml/highlights.scm

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

* Update runtime/queries/dbml/highlights.scm

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

* remove unnecessary block highlight

* remove unnecessary line

* remove index_block query

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
7 months ago
blinxen a0e5bb8520 [themes] Add missing license files for recently added themes 7 months ago
blinxen b16752306c [themes] Mention license files in README 7 months ago
Dan Field b306b25e82
GN language support (#6969)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
7 months ago
Niklas Alexander Shern 2acf5e365e
theme: show active selection and buffer for naysayer theme (#8838) 7 months ago
blinxen 39aa6fa646
Update some grammars to a commit where the license file is included (#8691) 7 months ago
crozbo 7868136a18
Theme: Papercolor: Add inlay-hint style (#8827) 7 months ago
Eemil Haapanen 3c8bf9df4a
theme: add starlight (#8787) 8 months ago
Ambuj Singh 23fea46815
theme: Add Theme poimandres (#8759)
* theme: Add Theme poimandres

* theme: inherit `poimandres_storm` from `poimandres` with minor tweaks

* fix(theme): rename `crossed-out` to `crossed_out`

* fix(theme:poimandres): improve contrast of selection color for regular variant
8 months ago
Triton171 cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720) 8 months ago
Henrik Tjäder 7bc564d3dc
Theme: Papercolor: Add type.parameter (#8735) 8 months ago
Joey Hain f73e9a8d15
highlights: add type.parameter scope to several more languages (#8718)
* typescript

* go

* haskell

* ocaml

* kotlin (+ bugfix)
8 months ago
postsolar a98ad137f9
Update PureScript grammar (#8712) 8 months ago
cgahr 5c325fe342
replace kdl tree-sitter to fix highlighting (#8652)
* replace kdl tree-sitter

* kdl: adopt highlights for new tree-sitter

* kdl: add indent queries

* kdl: add textobjects

* kdl: improve syntax highlighting

* kdl: update lang-support

* kdl: make indents more concise

---------

Co-authored-by: Constantin Gahr <constantin.gahr@ipp.mpg.de>
8 months ago
Joey Hain 70bbbd7d19
add highlight scope for type parameters (#8660)
* rust: add highlight scope for type parameters

* handle optional type parameters
8 months ago
Arkady Rost ae6a0a9cfd
Adjusted ui.virtual.inlay-hint color for everblush theme (#8705)
Co-authored-by: Arkady Rost <1239844+arkrost@users.noreply.github.com>
8 months ago
blinxen a069b92897
Add missing license files for themes (#8684) 8 months ago
RoloEdits f992c3b597
feat(highlights): add more comment highlights (#8564) 8 months ago
blt__ ab266b99e6
Say "unindent" instead of "outdent" in tutor (#8623) 8 months ago
Mehedi Rifat 99bf62a560
Theme: Add gruber-darker theme (#8598) 8 months ago
Gabriel Dinner-David 4f1d414d9c
switch to tree-sitter-ron (#8624) 8 months ago
Frans Skarman 9eec9adb8f
Add LPF tree sitter (#8536)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Alexander Brevig 2906660119
Add typst language and lsp (#7474)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
8 months ago
Ryan Mehri c24a67c0e4
Add rust html injection query (#8603) 8 months ago
Abderrahmane TAHRI JOUTI 88bc52a570
Theme cyan light diff colors (#8587) 8 months ago
rsteube 764715a6c0
languages: add templ (#8540) 8 months ago
Joe-Zer0 fc16449efe
Add nord night theme (#8549) 9 months ago
Ryan Mehri 814cf177d4
bump tree-sitter-haskell and update queries (#8558) 9 months ago
Petr Gajdůšek 9f6e9a1512
Add 'while_statement' to bash indents (#8528) 9 months ago
NomisIV 1ef7f24dae
Update purescript-tree-sitter grammar (#8527) 9 months ago
DS/Charlie 96bbfb7c2e
bump tree-sitter-sql (#8464)
* bump tree-sitter-sql

* update highlights classes to helix flavour

* replace lua-match with match
9 months ago
DS/Charlie 93e54fa0c8
add support for json5 (#8473)
* add json5 language

* docgen
9 months ago
Jonah Lund 1297d924e7
improve nord theme (#8414) 9 months ago
boofexxx 77fe8f214b
refine darcula and darcula-solid themes (#8412) 9 months ago
Lucas Zebrowsky ba06371499
Fix missing HTML tag colorization in onedark theme (#8409) 9 months ago
Ben Haines 2776233a6f
update go highlight queries (#8399) 9 months ago
postsolar 651fd1ca72
Add Unicode support to PureScript's highlight queries (#8338) 9 months ago
zetashift 7fa5f341e9
Update Unison highlights (#8315) 10 months ago
NomisIV cb39242783
Use Maskhjarnas tree-sitter-purescript (#8306) 10 months ago
pacien 37e48f4307 queries/nix: align match start for language comments
This rule failed to override other ones because it started its
matching later.
10 months ago
pacien b4494e1dc5 queries/nix: add injection rule for python test scripts 10 months ago
Cyrill Schenkel 941dc6c614
add GNU assembler (gas) support #8291) 10 months ago
Abderrahmane TAHRI JOUTI 19d44b6fde
add cyan_light theme (#8293)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
10 months ago
Anton Romanov e41bee6ac6
[theme] Fix zenburn theme inlay hint color (#8278) 10 months ago
Henrik Tjäder 764172d5bc
Theme: Papercolor: Cleanup, linting and using inheritance (#8276) 10 months ago
Chirikumbrah 729f32de21
Better indent line color for Dracula theme. (#8266) 10 months ago
Blaž Hrastnik ef23847957
scheme: Highlight abbreviations 10 months ago
Galen Abell acef759a5e
Add additional YAML injections (#8217) 10 months ago
Alexis Mousset 83ac53a109
Fix various typos (#8233) 10 months ago
Yhya 6f3a6575dc
add material theme collection (#8211)
* Create material theme files

* Add material deep ocean pallete

* Add primary theme properties to material deep ocean theme

* Fix material deep ocean theme

* Ad syntax highlighting to material deep ocean theme

* Make material oceanic theme

* Make material darker theme

* Remove material lighter theme

* Make material palenight theme

* Make other material themes inherit material deep ocean theme

* Add virtual ruler background to the material theme collection
10 months ago
Jesse Luehrs 81d6d3ff0e
re-add indent and textobject queries for perl (#7947)
* bump tree-sitter-perl version

need some grammar tweaks for the indent queries to function properly

* add indent queries for perl

* add textobject queries for perl
10 months ago
John Scarrott 61814fea7f
Nord Theme: Fix missing ui text focus, use undercurls for diagnostics (#8165) 10 months ago
Ivan Molodetskikh 9d7f66574d
Update tree-sitter-blueprint (#8161) 10 months ago
Damir Vandic 79c0425154
Sync latest catppuccin theme changes (#8102) 10 months ago
Sol Fisher Romanoff aeaeb09f48
add gemini language support (#8070) 10 months ago
arslee07 75c5a33028
Highlight Dart 3 `sealed` and `base` keywords (#7974) 10 months ago
kaashyapan 75342968e2
update fsharp tree-sitter (#8024) 10 months ago
dastrukar e4c95f65a6
Nord theme: Update ruler to set bg instead of fg (#7995) 11 months ago
Tomas Sandven 18a79aa3bf
Update tree-sitter-robot (#7970)
* Update tree-sitter-robot

* Update Robot highlights query for Helix

* Change @comment.single to @comment

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

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
11 months ago
Jack Allison 2b7e7c80eb
Update Monokai bufferline theming to be distinguish active buffers (#7983)
* Update OneDark theme to use light-gray for inlay hints.

* fix monokai tab themeing to be more distinguishing
11 months ago
Pham Huy Hoang 56ccaedffb
markdown.inline: Add `injection.combined` to html tag (#7960)
Problem: Closing tags for markdown is sometimes not highlighted
Solution: Add `injection.combined` to create a valid syntax tree for
highlighting
11 months ago
Jens Getreu 61ccf4eded
autumn theme: improve readability of comments (#7939)
* Improve readability of comments

* Rename color

* Rename color

* Sort variables
11 months ago
sigmaSd cbfe8eef89
add strace highlighting (#7928)
* feat: add strace tree sitter

* f
11 months ago
Jesse Luehrs d56638ba9a fix formatting in the rust textobject query file
looks like two lines were unintentionally joined - it doesn't appear to
affect the functionality, but it's confusing to read
11 months ago
Erasin Wang 19dff5c3a4
Update slint grammar (#7893) 11 months ago
Jesse Luehrs 2caca1c4e9
Add pod highlighting (#7907) 11 months ago
Daniel Ebert 36a59e4482 Improve C, Rust & Python indent queries & add @align captures. 11 months ago
Skyler Hawthorne 7078e84007 Fix YAML auto indent
YAML indents queries are tweaked to fix auto indent behavior.

A new capture type `indent.always` is introduced to address use cases
where combining indent captures on a single line is desired.

Fixes #6661
11 months ago
Ivan Isekeev 57f093d836
Jinja language family syntax support (#7233)
* feat: add jinja language support

* feat: add nunjucks language support

* feat: add to lang support book jinja and nunjucks languages
11 months ago
Jan9103 c0eae84073
feat: add todo.txt tree-sitter (#7835) 11 months ago
Gaël cb9b08d650
Add new Yellowed theme to default themes (#7849)
* added new Yellowed theme to default themes

* syntax typo and missing color fix
11 months ago
Artemiy 1077630834
Update tree-sitter grammar for nu (#7873)
* Update tree-sitter grammar for nu

Change tree-sitter grammar for nushell to 'officially' maintained
by nushell project https://github.com/nushell/tree-sitter-nu. Update
to the latest version. Replace queries with supported

* Restore injection queries for nu

Restore injection.scm queries for nushell tree-sitter grammar
11 months ago
zetashift 294aa669a2
Add Unison support (#7724) 11 months ago
woojiq 7cda5b8592
build(tree-sitter): update javascript, typescript and tsx (#7852)
* build(tree-sitter): update javascript, typescript and tsx

* update revision of tree-sitter parsers for these languages.
* rename `?.` to `optional_chain`, introduced in tree-sitter/tree-sitter-javascript@186f2adbf7.

* fix(highlight): change jsx queries to match latest tree-sitter

Latest tree-sitter/tree-sitter-javascript@bb1f97b643 added some breaking changes that broke highlighting.
* Remove some queries with `nested_identifier`.
* Remove deprecated `jsx_fragment` from indent query.
* Count `</` and `/>` as a single token.
11 months ago
Petr Gajdůšek 7af37bb3b9
Add tree-sitter textobjects queries for bash (#7764)
This implements function, (calling) argument and comment captures for use
in the textobject selections in bash.

This also updates the generated docs after adding the textobjects for bash.
11 months ago
woojiq 1d189820a1
feat(indent): add basic java indentation queries (#7844) 11 months ago
Mohamed Imrane Chehabi 80d2599f9c
Add new moon theme to default themes (#7834)
* Add new moon theme to default themes

* Remove .DS_Store
11 months ago
Jummit f19793c2f8
Improve wren support (#7819) 11 months ago
Christoph Sax 5a51036bc1
Update t32 language queries to version 2.2.1 (#7811)
Version 2.2.1 of the grammar adds extended support for HLL (C, C++,..)
expressions. Quite a few node types were added, renamed or removed in
the process.

This change brings the highlight queries in sync with the ones found in
the repository of the grammar. The highlighting tests "look" okay after
updating the queries.

Recently, Codeberg had some reliability issues. That is why the language
is now using the mirror repository on GitLab as source instead.

Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
11 months ago
J. Brock 286e44050d
Bump the version of Hare's grammar (#7784) 11 months ago
voroskoi bc737404e8
Update tree-sitter-zig (#7803) 11 months ago
lydiandy 57952c46a4
replace new lsp for vlang (#7760)
* fix vlang grammar fetch and build fail

* update highlights.scm for v-analyzer

* Update languages.toml

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

* Update runtime/queries/v/highlights.scm

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

* update scm for new lsp

* gen doc lang-support.md

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
11 months ago
Jesse Luehrs d5571968fa
add new theme based on the default vim dark theme (#7785) 11 months ago
Matthias Q 224fd5fa29
feat: update prql parser (#7771) 11 months ago
Jummit 9a4890f62b
Add wren support (#7765) 11 months ago
Michael Davis f0b877e258 Tune regex highlights for usage in prompts
Since regex is almost always injected into other languages,
`pattern_character`s will inherit the highlight for the structure that
injects them (for example `/foo/` in JavaScript or `~r/foo/` in Elixir).
This removes the string highlight when used in the prompt.

We also add `ERROR` node highlighting so that errors in regex syntax
appear in the prompt. This resolves a TODO in the `regex_prompt`
function about highlighting errors in the regex.
11 months ago
eh dea6894f92
Theme Pop-Dark: Increase Diagnostics clarity (#7702) 11 months ago
saltlakrits 5a52897014
Update everforest_dark.toml to add missing color definitions (#7739) 11 months ago
Pham Huy Hoang 75239a938f
fix incorrect predicate in comment highlights (#7732) 11 months ago
Federico Stra a188282b37
Update soft-wrap indicator in gruvbox themes (#7736) 11 months ago
Ravi Shekhar Jethani 48d57dad47
Fix selection highlighting in remaining gruvbox derived themes (#7717) 11 months ago
Thales Ramos d52b790379
Add Kaolin Dark, Light and Valley Dark themes (#7151)
Add some missing keys

Inherit themes from kaolin-dark and override diverging keys
12 months ago
Jesse Luehrs e7f60611ac
switch to https://github.com/tree-sitter-perl/tree-sitter-perl (#7644) 12 months ago
kaashyapan 2ace6032e7
Add fsharp language support (#7619) 12 months ago
Erasin Wang 2cb00bcbc4
Support inlay-hints for svelteserver. (#7622) 12 months ago
Jeppe Christiansen bc4f08febf
Update Typescript, TSX and Svelte grammar, to latest tag (#6874)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
12 months ago
Nick Saika 9551e4e111
runtime/themes: Add "naysayer" theme (#7570) 12 months ago
Karim Mk e86bb64b63
Change dark_plus inlay-hints colors to more pleasant colors (#7611)
* Changing code_dark inlay-hints colors.

* Using dark_plus_experimental inlay hints is better ;)
12 months ago
Borys Lykah 7c338429f8
Add language support for persistent library syntax (#7261) 12 months ago
Sharpened Blade c33795e770
Update the Nord theme to follow the Nord style guide (#7490) 12 months ago
Gammut 607b426e26
Refactor queries for ecma based languages (#7207) 12 months ago
Álan Crístoffer a9849ebee4
highlight(matlab): Fix string's single-quote's color (#7493) 1 year ago
gobraves b745fb2551
update OneDarker theme to use light-gray for inlay hints. (#7433) 1 year ago
Branch Vincent 6c6923c39e
feat(toml): highlight table headers (#7441) 1 year ago
Álan Crístoffer 2c5288dafb
Replace MATLAB grammar (#7388) 1 year ago
eh 842518ccb7
Theme: port of Zed's OneDark and OneLight themes (#7250) 1 year ago
LeoniePhiline 48ad9ae1bb
highlight(sql): Update tree-sitter-sql to `98a7fc9` (#7387)
* highlight(sql): Update tree-sitter-sql to 92018a3

* highlight(sql): Update tree-sitter-sql to 98a7fc9
1 year ago
Alexander Brevig b4fe31cad6
Add forth-lsp and update tree-sitter-forth (#7334)
* feat: add forth lsp and update tree sitter

* fix: update highlights
1 year ago
Ivan Svoboda df094909d1
Webc language support (#7290)
* feat: add webc language support

* feat: add to lang-support book webc
1 year ago
Jorge Santiago d249639114
Add merionette theme (#7186) 1 year ago
lefp a197ce869a
Add Fortran comment injections (#7305) 1 year ago
Dimitri Sabadie 31b8b728a2
Fix C++ queries and update tree-sitter-cpp (#7285) 1 year ago
broke ef5bcd5060
theme: added gruvbox dark soft variant (#7139) 1 year ago
Christoph Sax d324feb072
Add support for language t32 (#7140)
Co-authored-by: Christoph Sax <christoph.sax@mailbox.org>
1 year ago
Jens Getreu 3e927ac578
Autumn theme: style "soft-wrap indicator" + maintenance (#7229)
Co-authored-by: Jens Getreu <getreu@getreu@web.de>
1 year ago
Alexander Brevig 78e8695420
Add support for Forth (#7256) 1 year ago
Ivan Tkachuk 2022e6175b
Add blueprint language (#7213)
* Add blueprint tree-sitter support

* Add blueprint lsp support

* Run cargo xtask docgen
1 year ago
zetashift 92380540b8
chore: update scala tree-sitter grammar (#7147)
* chore: update scala tree-sitter grammar

* Add locals.scm for Scala
1 year ago
Gammut 86ef389c0d
Highlight query improvements for java and typescript (#7145)
* Add missing queries to java highlights

* Fix generic type bracket highlights in typescript
1 year ago
Ravi Shekhar Jethani 6e647e83ed
Update spacebones_light.toml (#7125)
Better contrast between type variable and its members
1 year ago
Casper Rogild Storm 1dd1735909
Correct selection color (#7138) 1 year ago
Viktor Kleen 0c21c227e1
Update languages.toml for Nickel (#7059) 1 year ago
Blaž Hrastnik c6d1430243
Drop old cairo grammar, alias to rust for now 1 year ago
Jan Scheer 91da0dc172
Update nightfox theme (#7061)
* theme: nightfox - fix subselection highlighting

This fixes an issue with subselect highlighting on the same line as
reported here: https://github.com/helix-editor/helix/discussions/5158

* theme: nightfox - update bufferline colors

This uses `ui.bufferline` to make it easier to distinguish
between (in-)active tabs/buffers.
1 year ago
lefp 06d7f5d100
Add comment injections for Odin (#7027) 1 year ago
Vitalii Solodilov 5938e2c0dc
fix: update upstream tree-sitter-dockerfile (#6895)
* fix: update upstream tree-sitter-dockerfile

Fixes: #6797

* fix: review

* fix: review
1 year ago
Ollie Charles 8424f387b5
Remove `tree-sitter-cabal` (#6996) 1 year ago
Chirikumbrah 3fb0562e7b
Update dracula menu colors (#6987) 1 year ago
Gagan Janjua c6228825fd
Add Amberwood theme (#6924) 1 year ago
Chirikumbrah 2701781db7
Dracula theme: change variable and menu colors (#6855) 1 year ago
Rafael Madriz efd09b6c7c
tutor: Delete space between shorthand (#6920) 1 year ago
Rafael Madriz 5dcc891996
tutor: Trim trailing white space (#6919) 1 year ago
0rphee f2ccc03332 [Theme - noctis] Change color for whitespace rendering and indent guides 1 year ago
0rphee 96720e7b84 [Theme - noctis] Refine multiple cursor highlighting
Improve clarity when using multiple cursors
1 year ago