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
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
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
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
Dan Field
b306b25e82
GN language support ( #6969 )
...
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2023-11-18 17:11:18 +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
Triton171
cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). ( #8720 )
2023-11-08 20:53:07 +01: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
RoloEdits
f992c3b597
feat(highlights): add more comment highlights ( #8564 )
2023-10-27 01:41:09 +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
rsteube
764715a6c0
languages: add templ ( #8540 )
2023-10-21 14:15:18 +02:00
Ryan Mehri
814cf177d4
bump tree-sitter-haskell and update queries ( #8558 )
2023-10-17 12:19:57 +02:00
Petr Gajdůšek
9f6e9a1512
Add 'while_statement' to bash indents ( #8528 )
2023-10-13 17:08:56 +02:00
NomisIV
1ef7f24dae
Update purescript-tree-sitter grammar ( #8527 )
2023-10-13 17:08:27 +02:00
DS/Charlie
96bbfb7c2e
bump tree-sitter-sql ( #8464 )
...
* bump tree-sitter-sql
* update highlights classes to helix flavour
* replace lua-match with match
2023-10-09 17:29:30 +02:00
DS/Charlie
93e54fa0c8
add support for json5 ( #8473 )
...
* add json5 language
* docgen
2023-10-07 00:29:42 +02:00
Ben Haines
2776233a6f
update go highlight queries ( #8399 )
2023-09-26 18:05:42 +02:00
postsolar
651fd1ca72
Add Unicode support to PureScript's highlight queries ( #8338 )
2023-09-21 00:26:40 +02:00
zetashift
7fa5f341e9
Update Unison highlights ( #8315 )
2023-09-17 13:23:19 -05:00
NomisIV
cb39242783
Use Maskhjarnas tree-sitter-purescript ( #8306 )
2023-09-17 18:50:58 +02:00
pacien
37e48f4307
queries/nix: align match start for language comments
...
This rule failed to override other ones because it started its
matching later.
2023-09-16 15:09:07 -05:00
pacien
b4494e1dc5
queries/nix: add injection rule for python test scripts
2023-09-16 15:09:07 -05:00
Cyrill Schenkel
941dc6c614
add GNU assembler (gas) support #8291 )
2023-09-16 02:04:44 +02:00
Blaž Hrastnik
ef23847957
scheme: Highlight abbreviations
2023-09-11 13:15:58 +09:00
Galen Abell
acef759a5e
Add additional YAML injections ( #8217 )
2023-09-10 22:49:28 +02:00
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
2023-09-10 21:27:04 +02:00
Ivan Molodetskikh
9d7f66574d
Update tree-sitter-blueprint ( #8161 )
2023-09-04 18:50:42 +02:00
Sol Fisher Romanoff
aeaeb09f48
add gemini language support ( #8070 )
2023-08-27 00:43:18 +02:00
arslee07
75c5a33028
Highlight Dart 3 sealed
and base
keywords ( #7974 )
2023-08-23 21:41:51 +05:30
kaashyapan
75342968e2
update fsharp tree-sitter ( #8024 )
2023-08-21 16:38:21 +02:00
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>
2023-08-18 22:48:47 +02:00
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
2023-08-16 11:28:07 -05:00
sigmaSd
cbfe8eef89
add strace highlighting ( #7928 )
...
* feat: add strace tree sitter
* f
2023-08-15 09:38:57 +02:00
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
2023-08-14 07:45:58 -04:00
Erasin Wang
19dff5c3a4
Update slint grammar ( #7893 )
2023-08-13 09:18:57 +02:00
Jesse Luehrs
2caca1c4e9
Add pod highlighting ( #7907 )
2023-08-12 20:14:18 -05:00
Daniel Ebert
36a59e4482
Improve C, Rust & Python indent queries & add @align captures.
2023-08-11 23:44:02 +09:00
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
2023-08-11 06:22:22 +09:00
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
2023-08-09 16:26:58 +02:00
Jan9103
c0eae84073
feat: add todo.txt tree-sitter ( #7835 )
2023-08-09 15:35:29 +02:00
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
2023-08-09 14:00:59 +02:00