mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
Add spelling checks to strings and comments
I didn't touch these bits so they aren't in status quo, but sure, I'll fix them.
This commit is contained in:
parent
bf3b792ce6
commit
9a0e095eba
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
(container_doc_comment)
|
(container_doc_comment)
|
||||||
(doc_comment)
|
(doc_comment)
|
||||||
(line_comment)
|
(line_comment)
|
||||||
] @comment
|
] @comment @spell
|
||||||
|
|
||||||
[
|
[
|
||||||
variable: (IDENTIFIER)
|
variable: (IDENTIFIER)
|
||||||
|
|
@ -82,7 +82,7 @@ field_constant: (IDENTIFIER) @constant
|
||||||
[
|
[
|
||||||
(LINESTRING)
|
(LINESTRING)
|
||||||
(STRINGLITERALSINGLE)
|
(STRINGLITERALSINGLE)
|
||||||
] @string
|
] @string @spell
|
||||||
|
|
||||||
(CHAR_LITERAL) @character
|
(CHAR_LITERAL) @character
|
||||||
(EscapeSequence) @string.escape
|
(EscapeSequence) @string.escape
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue