iko
d7c7589fd5
Add Hoon ( #9190 )
...
* Added Hoon
* Added highlights.scm
* Updated docs
* Update runtime/queries/hoon/highlights.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
HumanEntity
ac8d1f62a1
sonokai: Add color modes support and change contrast between ruler and bg ( #9376 )
...
* Added `editor.color-modes` option support
* Less contrast between bg and ruler
9 months ago
Jimmy Zelinskie
d9f7aaacaf
languages: add CEL, SpiceDB schema language ( #9296 )
...
* languages: add CEL language and grammar
* languages: add spicedb schema language
* chore: docgen
* runtime/queries: refine spicedb & cel highlights
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* languages: update spicedb
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
9 months ago
7ombie
204c3707b0
Updated Swift grammar, adding 'any' and 'await' keywords. ( #9586 )
9 months ago
Matouš Dzivjak
d137a08231
feat(languages): pkl ( #9515 )
...
* feat(languages): pkl
Add [pkl](https://github.com/apple/pkl ) language.
Official documentation: https://pkl-lang.org/
* remove branch indent
9 months ago
Tobias Hunger
a1272bdb17
slint: Update treesitter parser and queries ( #9551 )
...
* slint: Update treesitter parser and queries
* slint: Port over suggestions from nvim review
9 months ago
eh
28a39e6efc
Fix cursorline Zed OneDark ( #9549 )
...
Co-authored-by: e4 <eric.correia@dronesense.com>
9 months ago
eh
1d87c6a999
Update colors used for zed themes ( #9544 )
...
Official colors used is now publically available: https://github.com/zed-industries/zed/blob/main/assets/themes/one/one.json
Modified the theme to more accurately reflect the actual colors being used.
Co-authored-by: e4 <eric.correia@dronesense.com>
9 months ago
Matouš Dzivjak
0975d9c5e7
feat(languages): golang comments and numeric types ( #9525 )
10 months ago
Doug Kelkhoff
5c567f31e2
Adding two themes using only colors from 16-color terminal themes ( #9477 )
...
* adding 16-color terminal themes
* minor consistency update
* minor consistency update
* rename to be more consistent with other helix theme name conventions
* fixing improper theme inherits name
10 months ago
zetashift
6e3ed7f0fa
Update Unison tree-sitter grammar for type changes and add indent queries ( #9505 )
...
* Update Unison tree-sitter grammar for type changes
* Add indent queries for Unison
* Improve Unison indent queries
10 months ago
Jaakko Paju
75d61d8149
Improve tree-sitter queries for Scala ( #9475 )
...
- Simplify function highlighting
- Highlight extension methods
- Textobject query (mia/maa) for class/trait constructor parameters/arguments
- Textobject query (mif/maf) for Scala 3 braceless lambdas
10 months ago
Novus Nota
d1054de3ce
feat: Add `Tact` language support ( #9512 )
...
Re-submitting
10 months ago
Devyn Cairns
3f380722fb
Update grammars for Nushell to rev 358c4f50 ( #9502 )
10 months ago
Matouš Dzivjak
d545452819
feat(queries): regex injection for golang ( #9510 )
10 months ago
Andrew Carter
dbac78bb3c
Set ui.virtual.ruler background for GitHub themes ( #9487 )
...
Turning on a ruler does not show a visible ruler
line for the GitHub themes. This change renders
rulers using the `canvas.subtle` color. This
matches the color used for the `cursorline` and
creates a visible ruler that fits the theme.
10 months ago
sogaiu
f5b67d9acb
Use janet-simple grammar for Janet ( #9247 )
...
* Use janet-simple grammar for Janet
* Update book
* Tweak language name and related
* Rename janet-simple to janet in book
* Remove spurious language section for janet
* Drop quote_lit and qq_lit related highlighting
---------
Co-authored-by: sogaiu <983021772@users.noreply.github.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
10 months ago
Twinkle
eb3c4e9f00
feat: add hard/soft contrast for gruvbox light mode ( #9266 )
10 months ago
Ryan Roden-Corrent
fe44391016
Add argument to textobject in gdscript. ( #9288 )
...
Currently `maa` only selects parameters in a function definition.
Allow it to also select arguments inside a function call.
10 months ago
Jaakko Paju
ee68fd09ac
highlight(scala): highlight abstract methods in traits and classes ( #9340 )
10 months ago
Abderrahmane TAHRI JOUTI
0328fa4d02
adjust color darkness on ruler & inlay-hints ( #9375 )
10 months ago
Jaakko Paju
9978d421fe
Include interpolated SQL strings in Scala injection queries ( #9428 )
...
* Change Scala injection queries to include SQL strings
* Include block comments in comment injection
* Change #match predicate to #any-of
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
---------
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
10 months ago
Travis Harmon
f0be0c6d4a
Make status line modes bold for theme onedark ( #9435 )
...
* Make status line modes bold
* Revert change to onedarker
10 months ago
Chirikumbrah
1616021a5a
Make status line modes bold ( #9449 )
10 months ago
blinxen
2661e05b34
Update some grammars to a commit where the license file is included ( #9279 )
...
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
10 months ago
Idobenhamo
299bcce481
Update Typst Tree-Sitter grammar ( #9403 )
...
Co-authored-by: Idobenhamo <idobenhamo@users.noreply.github.com>
10 months ago
melted-brownie
2058b3732c
Add text object queries for dart ( #9411 )
...
* Add text object queries for dart
* Update runtime/queries/dart/textobjects.scm
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Clean up internal capture name
---------
Co-authored-by: Sébastien Blondiau <sebastien.blondiau@iot-d.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
10 months ago
Jaakko Paju
4168864572
Add bufferline config for onedark & onedarker themes ( #9397 )
10 months ago
Jaakko Paju
9ed3dc52e0
Update Scala tree-sitter grammar ( #9348 )
...
* Update Scala tree-sitter grammar
* Support block comments
Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
10 months ago
woojiq
52a43bcdfc
bash, make, css: highlight and indent queries improvement ( #9393 )
...
* highlights(bash): rework keywords section
* Use more specified scope when possible for keywords like @keyword.repeat.
* Add more keywords like "local" or "unsetenv".
Limitation:
* Bash doesn't allow you to have a local variable outside of a function, so maybe we need to have better queries to not highlight the local in this case.
* If we name a function with a keyword (such as unset or local), it will use the highlight scope "keyword" instead of "function".
* indents(css, make): add basic queries
* Despite the fact that queries look simple, they improve indentation in some edge cases that helix couldn't handle correctly by default.
10 months ago
HumanEntity
6754acd83f
Made inlay-hints not look like normal code ( #9370 )
...
Added `"ui.virtual.whitespace" = { fg = "grey_dim" }` line
10 months ago
Michael Davis
3011df4f35
Bump tree-sitter to latest master ( #9317 )
...
* query capture names now return `&str`s rather than `String`s
* the `#any-of?` predicate is now supported
10 months ago
rojebd
46ecc102ba
added voxed theme ( #9164 )
10 months ago
Kirawi
7af78c7788
update comment grammar ( #9253 )
10 months ago
Tomas
77ab792ac7
runtime/themes: adding "ttox" theme ( #8524 )
...
* runtime/themes: adding 'ttox' theme
* Improving primary selections
10 months ago
Ryan Roden-Corrent
c8e58304bf
Add textobject queries for protobuf grammar. ( #9184 )
...
Given `message Foo {string s = 1;}`
- `mat` selects `message Foo {string s = 1}`
- `mit` selects `{string s = 1;}`
Given `service SearchService { rpc Search(Req) returns (Resp); }
- `mit` or `mat` selects `Req` or `Resp`
- `mif` or `maf` selects `rpc Search(Req) returns (Resp);`
- `mit` selects { rpc Search(Req) returns (Resp); }`
- `mat` selects `service SearchService { rpc Search(Req) returns (Resp); }`
10 months ago
Paul Graydon
154d9b6ed1
Update tokyonight themes ( #9099 )
10 months ago
Jaakko Paju
73deba7044
Add textobject queries for Scala ( #9191 )
10 months ago
Jaakko Paju
a32d537d0a
Add HOCON language support ( #9203 )
...
* Add HOCON language support
* Remove error query
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Change include query
* Fix query error
---------
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
10 months ago
DuckDuckWhale
f8ae2bc61b
Fix: misleading active tab color in monokai_pro* ( #9148 )
10 months ago
Rose Hudson
a680b2e409
rust highlights: clean up constructor logic ( #8957 )
...
Enum variants and (tuple) structs are indistinguishable in general, so we
mark any PascalCase pattern or expression as a "constructor", which
covers all three.
11 months ago
Sharpened Blade
7b0f92bb3a
Add markup styling to nord theme ( #9135 )
...
Fixes https://github.com/helix-editor/helix/issues/9131
11 months ago
0rphee
5f04d09f03
theme: update noctis ( #9123 )
11 months ago
Evan Richter
a98b8ddd1a
add smali language support ( #9089 )
11 months ago
ves
06d7dc628e
theme: add horizon-dark ( #9008 )
11 months ago
Matouš Dzivjak
80dd585966
feat(themes): add modus vivendi theme(s) ( #8894 )
11 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>
11 months ago
Daniel Ebert
33d85606cf
Add alignment indent queries for binary & ternary expressions in C.
11 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.
11 months ago
Susheel Thapa
23fd145a56
fix: typo in scm files inside runtime/queries/ ( #8630 )
11 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>
11 months ago
Jesús González
f1e34ce5a2
Specify BG and FG cursor colors in Darcula themes ( #9002 )
11 months ago
Phil
b4571c292e
Add initial support for janet-lang ( #9081 )
...
* Add initial support for janet-lang
* Use default roots for janet-lang
11 months ago
Frederick Schwalbe
c3cb1795bf
Update gleam grammar and queries ( #9003 )
12 months ago
Jesús González
44c3d48a94
Add more accurate to official theme type highlighting to Darcula themes ( #8738 )
12 months ago
Niklas Alexander Shern
ab763b3111
fix: update rose_pine to be identical to main repo ( #8946 )
12 months ago
Skyler Hawthorne
fcd564fddf
upgrade tree-sitter-python ( #8976 )
...
supports new syntaxes from Python 3.12
12 months ago
Tudyx
f8d261cd20
add log tree-sitter ( #8916 )
...
* add log tree-sitter
* better highlight queries
12 months ago
Alexis Mousset
090ed97e00
Add modus operandi themes ( #8728 )
1 year 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>
1 year ago
blinxen
a0e5bb8520
[themes] Add missing license files for recently added themes
1 year ago
blinxen
b16752306c
[themes] Mention license files in README
1 year ago
Dan Field
b306b25e82
GN language support ( #6969 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Niklas Alexander Shern
2acf5e365e
theme: show active selection and buffer for naysayer theme ( #8838 )
1 year ago
blinxen
39aa6fa646
Update some grammars to a commit where the license file is included ( #8691 )
1 year ago
crozbo
7868136a18
Theme: Papercolor: Add inlay-hint style ( #8827 )
1 year ago
Eemil Haapanen
3c8bf9df4a
theme: add starlight ( #8787 )
1 year 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
1 year ago
Triton171
cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). ( #8720 )
1 year ago
Henrik Tjäder
7bc564d3dc
Theme: Papercolor: Add type.parameter ( #8735 )
1 year ago
Joey Hain
f73e9a8d15
highlights: add type.parameter scope to several more languages ( #8718 )
...
* typescript
* go
* haskell
* ocaml
* kotlin (+ bugfix)
1 year ago
postsolar
a98ad137f9
Update PureScript grammar ( #8712 )
1 year 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>
1 year ago
Joey Hain
70bbbd7d19
add highlight scope for type parameters ( #8660 )
...
* rust: add highlight scope for type parameters
* handle optional type parameters
1 year 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>
1 year ago
blinxen
a069b92897
Add missing license files for themes ( #8684 )
1 year ago
RoloEdits
f992c3b597
feat(highlights): add more comment highlights ( #8564 )
1 year ago
blt__
ab266b99e6
Say "unindent" instead of "outdent" in tutor ( #8623 )
1 year ago
Mehedi Rifat
99bf62a560
Theme: Add gruber-darker theme ( #8598 )
1 year ago
Gabriel Dinner-David
4f1d414d9c
switch to tree-sitter-ron ( #8624 )
1 year ago
Frans Skarman
9eec9adb8f
Add LPF tree sitter ( #8536 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Alexander Brevig
2906660119
Add typst language and lsp ( #7474 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
1 year ago
Ryan Mehri
c24a67c0e4
Add rust html injection query ( #8603 )
1 year ago
Abderrahmane TAHRI JOUTI
88bc52a570
Theme cyan light diff colors ( #8587 )
1 year ago
rsteube
764715a6c0
languages: add templ ( #8540 )
1 year ago
Joe-Zer0
fc16449efe
Add nord night theme ( #8549 )
1 year ago
Ryan Mehri
814cf177d4
bump tree-sitter-haskell and update queries ( #8558 )
1 year ago
Petr Gajdůšek
9f6e9a1512
Add 'while_statement' to bash indents ( #8528 )
1 year ago
NomisIV
1ef7f24dae
Update purescript-tree-sitter grammar ( #8527 )
1 year ago
DS/Charlie
96bbfb7c2e
bump tree-sitter-sql ( #8464 )
...
* bump tree-sitter-sql
* update highlights classes to helix flavour
* replace lua-match with match
1 year ago
DS/Charlie
93e54fa0c8
add support for json5 ( #8473 )
...
* add json5 language
* docgen
1 year ago
Jonah Lund
1297d924e7
improve nord theme ( #8414 )
1 year ago
boofexxx
77fe8f214b
refine darcula and darcula-solid themes ( #8412 )
1 year ago
Lucas Zebrowsky
ba06371499
Fix missing HTML tag colorization in onedark theme ( #8409 )
1 year ago
Ben Haines
2776233a6f
update go highlight queries ( #8399 )
1 year ago
postsolar
651fd1ca72
Add Unicode support to PureScript's highlight queries ( #8338 )
1 year ago
zetashift
7fa5f341e9
Update Unison highlights ( #8315 )
1 year ago
NomisIV
cb39242783
Use Maskhjarnas tree-sitter-purescript ( #8306 )
1 year ago
pacien
37e48f4307
queries/nix: align match start for language comments
...
This rule failed to override other ones because it started its
matching later.
1 year ago
pacien
b4494e1dc5
queries/nix: add injection rule for python test scripts
1 year ago