Merge pull request #68 from TravonteD/html

Add html highlight queries
This commit is contained in:
Thomas Vigouroux 2020-06-02 21:15:48 +02:00 committed by GitHub
commit c934ea694c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

View file

@ -163,7 +163,7 @@ List of currently supported languages:
- [ ] typescript
- [ ] tsx
- [ ] json
- [ ] html
- [x] html (maintained by @TravonteD)
- [ ] csharp
- [ ] swift
- [ ] java

View file

@ -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