Commit graph

5964 commits

Author SHA1 Message Date
Garrett Hopper
5fe901f76b Allow indent.propagate and indent.increment metadata on @indent.begin 2025-05-07 22:14:33 -05:00
Garrett Hopper
55e44f8f28 Fix 2 space list indentation with meta forms 2025-05-07 19:45:30 -05:00
Garrett Hopper
b1791bc488 Fix indentation of lines within node preceding opening delimiter 2025-05-07 19:36:59 -05:00
Garrett Hopper
6a0cc56962 @indent.open and @indent.close captures as @indent.align delimiters
(Fix Clojure indentation with preceding ^ metadata)
2025-05-07 18:11:42 -05:00
Garrett Hopper
1de2016415 Fix formatting 2025-05-07 18:06:28 -05:00
Garrett Hopper
0f06fba7ac Fix quotes 2025-05-07 17:10:47 -05:00
Garrett Hopper
5f284e4b74 Clojure indent #_ properly, search parents for indent.end 2025-05-07 15:56:49 -05:00
Garrett Hopper
fba13d610e Clojure indent, add {,splicing_}read_cond_lit support 2025-05-07 15:55:57 -05:00
Garrett Hopper
55a008083b Add Clojure indents.scm using Tonsky's simplified formatting 2025-05-07 12:11:25 -05:00
Garrett Hopper
796f4403bc Add indent.align_hanging metadata
This allows indentation queries to bypass the default behavior of
indenting liens following a hanging open_delimiter differently.
(Primarily useful for lisp like languages)
2025-05-07 12:09:54 -05:00
Garrett Hopper
453d94ea3b Add indent.propagate metadata
This allows multiple nodes which share the same line to contribute to
indentation. (Primarily for lisp like languages)
2025-05-07 12:08:41 -05:00
Garrett Hopper
6ba63e4844 Merge metadata from multiple capture nodes 2025-05-07 12:07:48 -05:00
Caleb White
28d480e062
fix: blade injection highlighting (#7846)
Injecting php was broken upstream so this is a temporary fix until
upstream fixes it.

See https://github.com/nvim-treesitter/nvim-treesitter/issues/7842
2025-05-05 20:05:53 -07:00
Marc Jakobi
94ea4f436d feat(haskell): injections for inline-python quasiquotes 2025-04-30 11:45:52 +02:00
Christian Clason
3b308861a8 fix(injections): dtd, glimmer.*, razor, tablegen, teal 2025-04-27 11:04:54 +02:00
Christian Clason
4c7509e7b0 fix(roc): use correct predicate in injections 2025-04-26 22:12:46 +02:00
blindfs
58dd149629 fix(nu): add missing ctrl_match to query files 2025-04-26 10:41:10 +02:00
Peter Cardenas
684eeac91e feat(fish): highlight $ punctuation.special 2025-04-15 14:24:15 +02:00
Peter Cardenas
54fc8e311c feat(fish): add variable.builtin highlights 2025-04-15 14:24:15 +02:00
AJ Delcimmuto
7bbed4b548
feat(brightscript): brightscript parser and queries (#7780) 2025-04-13 13:20:09 -07:00
Mikkel Mondrup Kristensen
0e21ee8df6
More bash injection support for Taskfile (#7805) 2025-04-07 21:08:22 +02:00
Anthony Fiddes
205faba176
feat(yaml): inject bash for taskfiles (#7804) 2025-04-06 19:09:27 +02:00
Christian Clason
e5c8398e44 ci(bot): bump create-github-app-token to v2 2025-04-06 11:23:58 +02:00
Maksim Terpilovskii
523a9e1489
fix(svelte): else if highlight (#7797) 2025-04-04 14:08:02 +02:00
Jakob Zahn
997288c552
fix(python): highlight all types of docstrings (#7788) 2025-04-03 09:35:41 +02:00
Christian Clason
30654ee72a ci(tests): run tests on v0.10.4 2025-04-02 11:40:11 +02:00
Christian Clason
36a7d010bb ci(update): only check once a week (sat)
I need a break...
2025-04-02 11:19:22 +02:00
Christian Clason
79a6192d47 ci(update): block dhall,elm,enforce,rust (ABI 15) 2025-04-02 11:19:22 +02:00
Christian Clason
69cb3aafb6 fix(rust,dhall,elm,enforce): revert to ABI 14 parser 2025-04-02 11:19:22 +02:00
Christian Clason
cfbbea187b ci(tests): check queries on 0.10.4 2025-04-02 11:19:22 +02:00
nvim-treesitter-bot[bot]
288b4fb4d7 bot(lockfile): update erlang, glimmer_javascript, glimmer_typescript, php, php_only, qmljs, rust 2025-04-02 06:55:05 +00:00
nvim-treesitter-bot[bot]
4b390e1e46 bot(lockfile): update fortran, scala, tcl 2025-04-01 10:29:07 +02:00
nvim-treesitter-bot[bot]
9be6836ebe bot(lockfile): update editorconfig, elm, tcl 2025-03-31 10:47:25 +02:00
savanto
9df671fda4 dhall: recognize several missing builtins
- recognize builtin type `Bool`
- recognize import `... as Bytes`
- recognize builtin functions `Date/show`, `Time/show`, `TimeZone/show`
- recognize a bytes literal (ie. `0x"deadbeef"`)
2025-03-30 17:23:08 +02:00
nvim-treesitter-bot[bot]
86768fdd00 bot(lockfile): update dhall, enforce, http, javadoc, nu, superhtml, tcl, tera 2025-03-30 10:31:16 +02:00
Dennis van den Berg
aece106233 feat(angular): update highlights for template literals 2025-03-29 10:52:22 +01:00
nvim-treesitter-bot[bot]
a70d883976 bot(lockfile): update scala 2025-03-29 09:17:03 +01:00
nvim-treesitter-bot[bot]
a3315b8c7f bot(lockfile): update angular, koto, superhtml 2025-03-28 09:09:12 +01:00
nvim-treesitter-bot[bot]
da5825bf70 bot(lockfile): update angular, hcl, koto, meson, perl, superhtml, tact, terraform, vhs 2025-03-27 09:16:15 +01:00
nvim-treesitter-bot[bot]
85168f1580 bot(lockfile): update angular, koto, scala 2025-03-26 06:56:12 +00:00
nvim-treesitter-bot[bot]
e329e94a6a bot(lockfile): update javadoc, problog, prolog 2025-03-24 06:56:42 +00:00
nvim-treesitter-bot[bot]
d26ce01266 bot(lockfile): update hlsl, javadoc 2025-03-23 16:16:59 +00:00
Vladimir Levin
9399bfd816
feat(caddy): add parser and queries (#7588)
---------

Co-authored-by: Christian Clason <c.clason@uni-graz.at>
2025-03-23 16:04:41 +00:00
nvim-treesitter-bot[bot]
b454febfd9 bot(readme): update 2025-03-23 15:53:44 +00:00
Robert Muir
652da0b40f
feat(javadoc): add parser and queries (#7749)
Previously java was configured to use doxygen parser for documentation
comments, but javadocs are not doxygen. Inline tags have a different
syntax, block tags are not recognized, and doxygen creates a lot of
errors during highlighting.

Add parser for javadoc comments, with queries for highlights and
injections.
2025-03-23 16:44:12 +01:00
nvim-treesitter-bot[bot]
20a7e40203 bot(lockfile): update swift 2025-03-23 06:51:29 +00:00
nvim-treesitter-bot[bot]
e70cb73e94 bot(lockfile): update mlir 2025-03-22 06:52:45 +00:00
nvim-treesitter-bot[bot]
5f38dffb6a bot(lockfile): update lua, markdown, markdown_inline, vim 2025-03-21 16:31:09 +00:00
nvim-treesitter-bot[bot]
b10436b9fb bot(lockfile): update gleam, glimmer_javascript, glimmer_typescript, lalrpop, problog, prolog, roc 2025-03-21 08:16:13 +00:00
dcho
bc728ecf25 Use order instead of priority 2025-03-21 08:58:45 +01:00