From d32d5abb4abb7e22b91f105c3883f233e802cc20 Mon Sep 17 00:00:00 2001 From: TravonteD Date: Sat, 30 May 2020 10:50:03 -0400 Subject: Add html highlight queries --- README.md | 2 +- queries/html/highlights.scm | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 queries/html/highlights.scm diff --git a/README.md b/README.md index afedbc400..6374488b0 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ List of currently supported languages: - [ ] typescript - [ ] tsx - [ ] json -- [ ] html +- [x] html (maintained by @TravonteD) - [ ] csharp - [ ] swift - [ ] java 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 + -- cgit v1.2.3-70-g09d2