diff options
| author | net-solution <highconcept@pm.me> | 2024-11-22 16:00:15 +0000 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2024-11-23 10:43:46 +0100 |
| commit | 94853ae9327f2a19f9db161879b1cf7929e5bc42 (patch) | |
| tree | 84d6099d08765d0a61879ebcb2db2cf21df8cec4 /queries/astro | |
| parent | bot(lockfile): update fortran, nu, r (diff) | |
| download | nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar.gz nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar.bz2 nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar.lz nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar.xz nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.tar.zst nvim-treesitter-94853ae9327f2a19f9db161879b1cf7929e5bc42.zip | |
fix(astro): highlight self-closing component tags
Diffstat (limited to 'queries/astro')
| -rw-r--r-- | queries/astro/highlights.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/astro/highlights.scm b/queries/astro/highlights.scm index e4baf5380..e2917ad4d 100644 --- a/queries/astro/highlights.scm +++ b/queries/astro/highlights.scm @@ -20,6 +20,10 @@ (tag_name) @type) (#lua-match? @type "^[A-Z]")) +((self_closing_tag + (tag_name) @type) + (#lua-match? @type "^[A-Z]")) + ((erroneous_end_tag (erroneous_end_tag_name) @type) (#lua-match? @type "^[A-Z]")) |
