mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04: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:
parent
b033ab331c
commit
de878155ca
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