mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(html): disable spell for tags
When tags are embedded into markdown, they'd get spell checked, in spite of that not really making sense. The real culprit of this issue is markdown's spell being too "loose".
This commit is contained in:
parent
b033ab331c
commit
a144847347
1 changed files with 4 additions and 2 deletions
|
|
@ -1,9 +1,11 @@
|
|||
(tag_name) @tag
|
||||
(tag_name) @tag @nospell
|
||||
|
||||
; (erroneous_end_tag_name) @error ; we do not lint syntax errors
|
||||
(comment) @comment @spell
|
||||
|
||||
(attribute_name) @tag.attribute
|
||||
(attribute_name) @tag.attribute @nospell
|
||||
|
||||
(attribute_value) @nospell
|
||||
|
||||
((attribute
|
||||
(quoted_attribute_value) @string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue