aboutsummaryrefslogtreecommitdiffstats
path: root/queries/html
diff options
context:
space:
mode:
authorTravonteD <tman1300@aol.com>2020-05-30 10:50:03 -0400
committerTravonteD <tman1300@aol.com>2020-06-02 15:13:36 -0400
commitd32d5abb4abb7e22b91f105c3883f233e802cc20 (patch)
tree1a182194ca7495b37287de1196d03f7b92cc5aa2 /queries/html
parentMerge pull request #1 from nvim-treesitter/master (diff)
downloadnvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar.gz
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar.bz2
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar.lz
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar.xz
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.tar.zst
nvim-treesitter-d32d5abb4abb7e22b91f105c3883f233e802cc20.zip
Add html highlight queries
Diffstat (limited to 'queries/html')
-rw-r--r--queries/html/highlights.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/queries/html/highlights.scm b/queries/html/highlights.scm
new file mode 100644
index 000000000..8caa0a735
--- /dev/null
+++ b/queries/html/highlights.scm
@@ -0,0 +1,14 @@
+(tag_name) @type
+(erroneous_end_tag_name) @error
+(doctype) @constant
+(attribute_name) @property
+(attribute_value) @string
+(comment) @comment
+
+"=" @operator
+
+"<" @punctuation.bracket
+">" @punctuation.bracket
+"</" @punctuation.bracket
+"/>" @punctuation.bracket
+