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); }`
2024-01-08 03:08:41 +01:00
Paul Graydon
154d9b6ed1
Update tokyonight themes ( #9099 )
2024-01-08 03:08:20 +01:00
Jaakko Paju
73deba7044
Add textobject queries for Scala ( #9191 )
2024-01-08 03:05:10 +01:00
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>
2024-01-08 03:04:43 +01:00
DuckDuckWhale
f8ae2bc61b
Fix: misleading active tab color in monokai_pro* ( #9148 )
2024-01-08 03:03:56 +01:00
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.
2024-01-02 16:38:13 +01:00
Sharpened Blade
7b0f92bb3a
Add markup styling to nord theme ( #9135 )
...
Fixes https://github.com/helix-editor/helix/issues/9131
2023-12-22 13:52:26 +09:00
0rphee
5f04d09f03
theme: update noctis ( #9123 )
2023-12-20 17:09:35 +09:00
Evan Richter
a98b8ddd1a
add smali language support ( #9089 )
2023-12-20 00:31:27 +01:00
ves
06d7dc628e
theme: add horizon-dark ( #9008 )
2023-12-19 10:06:20 +09:00
Matouš Dzivjak
80dd585966
feat(themes): add modus vivendi theme(s) ( #8894 )
2023-12-19 10:03:26 +09:00
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>
2023-12-16 05:29:26 +01:00
Daniel Ebert
33d85606cf
Add alignment indent queries for binary & ternary expressions in C.
2023-12-15 15:59:54 +09:00
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.
2023-12-15 15:59:54 +09:00
Susheel Thapa
23fd145a56
fix: typo in scm files inside runtime/queries/ ( #8630 )
2023-12-15 15:58:27 +09:00
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>
2023-12-15 15:57:28 +09:00
Jesús González
f1e34ce5a2
Specify BG and FG cursor colors in Darcula themes ( #9002 )
2023-12-15 15:54:59 +09:00
Phil
b4571c292e
Add initial support for janet-lang ( #9081 )
...
* Add initial support for janet-lang
* Use default roots for janet-lang
2023-12-15 15:54:25 +09:00
Frederick Schwalbe
c3cb1795bf
Update gleam grammar and queries ( #9003 )
2023-12-05 22:54:00 +09:00
Jesús González
44c3d48a94
Add more accurate to official theme type highlighting to Darcula themes ( #8738 )
2023-12-05 10:46:23 +09:00
Niklas Alexander Shern
ab763b3111
fix: update rose_pine to be identical to main repo ( #8946 )
2023-12-05 10:45:50 +09:00
Skyler Hawthorne
fcd564fddf
upgrade tree-sitter-python ( #8976 )
...
supports new syntaxes from Python 3.12
2023-12-04 17:26:11 +09:00
Tudyx
f8d261cd20
add log tree-sitter ( #8916 )
...
* add log tree-sitter
* better highlight queries
2023-11-29 02:42:59 +01:00
Alexis Mousset
090ed97e00
Add modus operandi themes ( #8728 )
2023-11-22 19:04:10 +01:00
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>
2023-11-22 18:27:25 +01:00
blinxen
a0e5bb8520
[themes] Add missing license files for recently added themes
2023-11-19 14:44:02 -06:00
blinxen
b16752306c
[themes] Mention license files in README
2023-11-19 14:44:02 -06:00
Dan Field
b306b25e82
GN language support ( #6969 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-11-18 17:11:18 +09:00
Niklas Alexander Shern
2acf5e365e
theme: show active selection and buffer for naysayer theme ( #8838 )
2023-11-18 10:44:01 +09:00
blinxen
39aa6fa646
Update some grammars to a commit where the license file is included ( #8691 )
2023-11-18 10:24:59 +09:00
crozbo
7868136a18
Theme: Papercolor: Add inlay-hint style ( #8827 )
2023-11-18 00:32:06 +01:00
Eemil Haapanen
3c8bf9df4a
theme: add starlight ( #8787 )
2023-11-17 01:34:56 +01:00
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
2023-11-12 23:04:36 +01:00
Triton171
cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). ( #8720 )
2023-11-08 20:53:07 +01:00
Henrik Tjäder
7bc564d3dc
Theme: Papercolor: Add type.parameter ( #8735 )
2023-11-06 15:33:18 -06:00
Joey Hain
f73e9a8d15
highlights: add type.parameter scope to several more languages ( #8718 )
...
* typescript
* go
* haskell
* ocaml
* kotlin (+ bugfix)
2023-11-06 02:54:25 +01:00
postsolar
a98ad137f9
Update PureScript grammar ( #8712 )
2023-11-05 14:16:25 +01:00
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>
2023-11-03 22:21:54 +01:00
Joey Hain
70bbbd7d19
add highlight scope for type parameters ( #8660 )
...
* rust: add highlight scope for type parameters
* handle optional type parameters
2023-11-03 22:21:01 +01:00
Arkady Rost
ae6a0a9cfd
Adjusted ui.virtual.inlay-hint color for everblush theme ( #8705 )
...
Co-authored-by: Arkady Rost <1239844+arkrost@users.noreply.github.com>
2023-11-03 09:51:22 +09:00
blinxen
a069b92897
Add missing license files for themes ( #8684 )
2023-10-31 17:09:48 -05:00
RoloEdits
f992c3b597
feat(highlights): add more comment highlights ( #8564 )
2023-10-27 01:41:09 +02:00
blt__
ab266b99e6
Say "unindent" instead of "outdent" in tutor ( #8623 )
2023-10-27 01:40:49 +02:00
Mehedi Rifat
99bf62a560
Theme: Add gruber-darker theme ( #8598 )
2023-10-27 01:40:33 +02:00
Gabriel Dinner-David
4f1d414d9c
switch to tree-sitter-ron ( #8624 )
2023-10-27 01:40:16 +02:00
Frans Skarman
9eec9adb8f
Add LPF tree sitter ( #8536 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-10-27 01:32:49 +02:00
Alexander Brevig
2906660119
Add typst language and lsp ( #7474 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-10-27 01:27:42 +02:00
Ryan Mehri
c24a67c0e4
Add rust html injection query ( #8603 )
2023-10-26 11:39:22 +09:00
Abderrahmane TAHRI JOUTI
88bc52a570
Theme cyan light diff colors ( #8587 )
2023-10-24 00:10:42 +09:00
rsteube
764715a6c0
languages: add templ ( #8540 )
2023-10-21 14:15:18 +02:00