mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add html highlight queries
This commit is contained in:
parent
73ea03fb8d
commit
d32d5abb4a
2 changed files with 15 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ List of currently supported languages:
|
|||
- [ ] typescript
|
||||
- [ ] tsx
|
||||
- [ ] json
|
||||
- [ ] html
|
||||
- [x] html (maintained by @TravonteD)
|
||||
- [ ] csharp
|
||||
- [ ] swift
|
||||
- [ ] java
|
||||
|
|
|
|||
14
queries/html/highlights.scm
Normal file
14
queries/html/highlights.scm
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue