diff options
| author | Matthew Taylor <wrapperup4@gmail.com> | 2024-03-18 05:00:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-18 10:00:22 +0100 |
| commit | 2014f8285e306f4c8a896c7d3af53fdd599e5a4f (patch) | |
| tree | f33e0387d19edebfbe90a510b4e24e7cad9a8299 /queries | |
| parent | bot(lockfile): update arduino, cmake, dtd, http, mlir, ocaml, ocaml_interface... (diff) | |
| download | nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar.gz nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar.bz2 nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar.lz nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar.xz nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.tar.zst nvim-treesitter-2014f8285e306f4c8a896c7d3af53fdd599e5a4f.zip | |
feat: add vento support (#6261)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/vento/highlights.scm | 13 | ||||
| -rw-r--r-- | queries/vento/injections.scm | 9 |
2 files changed, 22 insertions, 0 deletions
diff --git a/queries/vento/highlights.scm b/queries/vento/highlights.scm new file mode 100644 index 000000000..9d35b2f66 --- /dev/null +++ b/queries/vento/highlights.scm @@ -0,0 +1,13 @@ +(comment) @comment @spell + +(keyword) @keyword + +(tag + [ + "{{" + "{{-" + "}}" + "-}}" + ] @punctuation.special) + +"|>" @operator diff --git a/queries/vento/injections.scm b/queries/vento/injections.scm new file mode 100644 index 000000000..66023c7f8 --- /dev/null +++ b/queries/vento/injections.scm @@ -0,0 +1,9 @@ +((comment) @injection.content + (#set! injection.language "comment")) + +((content) @injection.content + (#set! injection.language "html") + (#set! injection.combined)) + +((code) @injection.content + (#set! injection.language "javascript")) |
