Commit Graph

764 Commits (1c32fb2d4df3f06f96ca33db7d9f9b15297c7f8d)

Author SHA1 Message Date
Michael Davis 9f3b193743
queries: Fix precedence for zero-arity erlang macros 2025-04-27 15:06:11 -04:00
Jonas Köhnen 448e3c2ef5
fix(highlights/go): defer, go, goto are keywords (#13425) 2025-04-27 13:23:47 -05:00
Tobias Tschinkowitz 95c8d9c9e9
Add highlighting for lua methods (#13401) 2025-04-27 08:41:16 -05:00
Erasin Wang 52d4d775ce
Update scss and highlights (#13414) 2025-04-26 11:35:31 -04:00
James Turk 37b5d8ba99
feat: add basic Quarto support (#13339) 2025-04-16 08:03:21 -05:00
icefoxen bce166290a
Basic language support for Fennel. Might even work. (#13260)
Co-authored-by: uncenter <uncenter@uncenter.dev>
Co-authored-by: Simon Heath <simon.heath@nearearth.aero>
2025-04-15 18:05:44 -05:00
Niklas Gruhn 340934db92
Basic injection queries for Quint (#13322) 2025-04-11 10:31:57 -05:00
RoloEdits 4a7939928e
chore(jjdescription): bump rev to latest (#13329) 2025-04-11 09:06:20 -05:00
Julien THILLARD a799794623
Change highlights order (#13293) 2025-04-08 09:16:31 +09:00
Mykyta 9cfb8afa99
Added: missing highlighting to `queries/_typescript` (#13250)
* Added: missing highlighting
* moved: delete, typeof, instanceof, void - from keywords to keyword.operator
2025-04-07 10:00:03 -05:00
Weihnachtsbaum e9a3dcd858
Add WESL language (#13267)
Co-authored-by: uncenter <uncenter@uncenter.dev>
2025-04-06 12:23:34 -05:00
Wesley Hershberger 6c42ed1bd5
Debian control file syntax highlighting (#13245)
File format described at
https://www.debian.org/doc/debian-policy/ch-controlfields.html

Co-authored-by: Wesley Hershberger <wesley.hershberger@gmail.com>
2025-04-06 12:05:43 -05:00
Mykyta 994b750dd4
fixed: typo in capture group, removed duplicate query (#13251) 2025-04-06 11:49:21 -05:00
Max 1fc19c6d8e
Add Prolog tree-sitter grammar (#11611) 2025-04-06 11:43:53 -05:00
may 8e65077065
queries(scheme): consider the first argument of λ to be a variable (#13143) 2025-03-20 08:54:26 -05:00
Freddie Gilbraith d6cacb2731
add werk language and highlights (#13136) 2025-03-20 08:04:52 -05:00
Zeger Van de Vannet 6f463dbeb3
feat: add indents for starlark (#13126) 2025-03-18 09:18:45 -05:00
VESSE Léo fdaf12a35d
feat(tlaplus) : added `tlaplus` config + grammar (#13081) 2025-03-13 08:59:17 -05:00
SadMachinesP86 0d84bd563c
Fix Ruby highlights (#13055) 2025-03-13 08:48:13 -05:00
Michael Davis 1bd7a3901c
queries: Add JSON injection for Rust `json!({..})` macros
Note that this injection doesn't work currently because precedence is
not handled by the current syntax highlighter. The switch to tree-house
will properly handle the precedence of this pattern.
2025-03-12 17:46:17 -04:00
may 694b61514f
queries: Inject into string content in Rust injections
This change also recognizes `RegexBuilder::new` calls for the regex
injection.
2025-03-12 17:31:50 -04:00
Michael Davis 7f416704b1
Fix precedence of JSON highlight queries for keys 2025-03-12 17:28:11 -04:00
Mikhail Katychev 430ce9c46b
chore: Point OpenSCAD grammar to official repo (#13033) 2025-03-12 16:10:38 -05:00
Chris44442 8d590e8aee
update vhdl tree-sitter (#13091) 2025-03-12 09:47:37 -05:00
suza dc4761ad3a
feat: Add SourcePawn language support (#13028) 2025-03-07 11:55:48 -06:00
Mykyta 1e8774a030
Added missing CSS highlight Tree Sitter Scopes (#12497) 2025-02-26 17:51:36 -06:00
Daniel Fichtinger 83d4ca41cc
feat: added comment textobject to toml (#12952) 2025-02-26 17:40:34 -06:00
SofusA 534d0907d3
Update c-sharp queries (#12948) 2025-02-26 17:40:16 -06:00
Daniel Fichtinger bb3af143f1
feat: language support for mail files (#12945) 2025-02-26 17:33:36 -06:00
Michael Davis e1060a2785
queries: Fix precedence in Erlang highlights 2025-02-26 10:55:00 -05:00
Michael Davis 7e87a36e93
queries: Fix module highlights in koto 2025-02-24 12:49:43 -05:00
Michael Davis e1c26ebfc7
queries: Reverse precedence for git-config highlights 2025-02-24 10:41:09 -05:00
Michael Davis 3683cd9ea3
queries: Remove unknown predicates 2025-02-22 14:26:41 -05:00
Sebastian Dörner 0deb8bbce6
Add indents and textobjects for Kotlin (#12925) 2025-02-20 11:58:27 -06:00
Nik Revenco ef375d690e
feat: highlight rust repetition pattern (#12871)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-02-17 12:54:49 -06:00
RoloEdits efb44e0b22
feat(sql): update tree-sitter files (#12837) 2025-02-13 07:16:27 -06:00
Michael Davis 144a4f402f
queries: Fix html highlight precedence ordering 2025-02-12 20:58:09 -05:00
Jean-Louis Fuchs 258e3e1136
feat: Add support for the Ink programming language (#12773) 2025-02-12 09:46:50 -06:00
Matthew Mark Ibbetson 35faa73be1
Add Djot support (#12562) 2025-02-10 15:36:01 -06:00
Abhi 7a3470c48d
Add support for `yara` language (#12753) 2025-02-10 15:32:28 -06:00
Milo Moisson a03becf021
nix: add indent TS query (#12829)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-10 14:47:31 -06:00
Kristoffer Plagborg Bak Sørensen a6f94e04e6
feat: add mising pkgs.writers.write* nix tree-sitter injections (#12774) 2025-02-10 14:46:53 -06:00
Kristoffer Plagborg Bak Sørensen 2197b3cfa0
feat: add mising builtins.fromTOML nix tree-sitter injection (#12776) 2025-02-10 14:46:23 -06:00
Jaakko Paju a19c95a0a7
Add CSV language and syntax highlighting (#11973) 2025-02-10 10:51:06 -06:00
Nikita Revenco 1b89f998e8
fix: Rust highlights (regression from the reverse-query-precedence PR) (#12795)
Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
2025-02-07 08:51:22 -06:00
Gabriel Dinner-David b0e1eaf50d
reverse zig highlights (#12777) 2025-02-04 20:38:15 -06:00
Drew Zemke a36730cb21
add support for the FGA language (#12763) 2025-02-04 11:06:22 -06:00
uncenter 75abc23428
Add Tera templating language support (#12756) 2025-02-04 10:56:36 -06:00
Michael Davis 16ff06370f
queries: Remove `(ERROR)` from all highlights
We do not highlight `(ERROR)` nodes since the highlighting is quite
noisy while typing. Also see todo comments in `syntax.rs` - we could
introduce configuration in the future to prepend `(ERROR)` to a
language's highlights query.
2025-02-04 09:35:38 -05:00
Robin Heggelund Hansen ee33a84489
Update highlights.scm for Gren language (#12769) 2025-02-04 08:34:59 -06:00