mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
fix(html_tags): disable spell for tags (#8410)
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user