Commit Graph

521 Commits (f8d261cd20c4f74c89ab103ed42b01f029be1fec)

Author SHA1 Message Date
Tudyx f8d261cd20
add log tree-sitter (#8916)
* add log tree-sitter

* better highlight queries
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
Dan Field b306b25e82
GN language support (#6969)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
7 months ago
blinxen 39aa6fa646
Update some grammars to a commit where the license file is included (#8691) 7 months ago
Triton171 cb0bc25a9f
Add indent queries for scheme (and reuse them for common-lisp & racket). (#8720) 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
RoloEdits f992c3b597
feat(highlights): add more comment highlights (#8564) 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
rsteube 764715a6c0
languages: add templ (#8540) 8 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
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
Blaž Hrastnik ef23847957
scheme: Highlight abbreviations 10 months ago
Galen Abell acef759a5e
Add additional YAML injections (#8217) 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
Ivan Molodetskikh 9d7f66574d
Update tree-sitter-blueprint (#8161) 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
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
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
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
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
Jummit f19793c2f8
Improve wren support (#7819) 11 months ago