diff options
| author | Michael Chris Lopez <hello@michaelchris.space> | 2021-12-18 15:27:12 +0800 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-12 12:10:07 +0100 |
| commit | 5e2121a2272621b8ed033fbb9ffe0820c61212e2 (patch) | |
| tree | d351fce23a808fda4ec529ebd6bfa548580b124f | |
| parent | Add LaTeX highlights: addpart, addchap, addsec. (diff) | |
| download | nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar.gz nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar.bz2 nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar.lz nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar.xz nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.tar.zst nvim-treesitter-5e2121a2272621b8ed033fbb9ffe0820c61212e2.zip | |
highlights(html_tags): more specific attribute_value target
| -rw-r--r-- | queries/html_tags/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/html_tags/highlights.scm b/queries/html_tags/highlights.scm index 184b340f0..419b4568d 100644 --- a/queries/html_tags/highlights.scm +++ b/queries/html_tags/highlights.scm @@ -2,8 +2,8 @@ (erroneous_end_tag_name) @error (comment) @comment (attribute_name) @tag.attribute -(attribute_value) @string -(quoted_attribute_value) @string +(attribute + (quoted_attribute_value) @string) (text) @text ((element (start_tag (tag_name) @_tag) (text) @text.title) |
