mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -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
|
- [ ] typescript
|
||||||
- [ ] tsx
|
- [ ] tsx
|
||||||
- [ ] json
|
- [ ] json
|
||||||
- [ ] html
|
- [x] html (maintained by @TravonteD)
|
||||||
- [ ] csharp
|
- [ ] csharp
|
||||||
- [ ] swift
|
- [ ] swift
|
||||||
- [ ] java
|
- [ ] 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