aboutsummaryrefslogtreecommitdiffstats
path: root/queries/html
diff options
context:
space:
mode:
authorTravonteD <tman1300@aol.com>2020-09-15 22:24:33 -0400
committerThomas Vigouroux <tomvig38@gmail.com>2020-09-18 17:09:43 +0200
commitc366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c (patch)
treec5703f5ae603661ef7228515b74d92ebb5a243ae /queries/html
parentmove the generic "constant" capture to the top (diff)
downloadnvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar.gz
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar.bz2
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar.lz
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar.xz
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.tar.zst
nvim-treesitter-c366a041c8dd09fd6e6b3a9e1a8b8574e118ef8c.zip
Add TSTag and TSTagDelimiter groups
These groups will be added for use with xml-like tags such as html and jsx.
Diffstat (limited to 'queries/html')
-rw-r--r--queries/html/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/html/highlights.scm b/queries/html/highlights.scm
index 1e83ecf4c..38a06766b 100644
--- a/queries/html/highlights.scm
+++ b/queries/html/highlights.scm
@@ -1,4 +1,4 @@
-(tag_name) @type
+(tag_name) @tag
(erroneous_end_tag_name) @error
(doctype) @constant
(attribute_name) @property
@@ -13,4 +13,4 @@
">"
"</"
"/>"
- ] @punctuation.bracket
+ ] @tag.delimiter