mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
feat(spell): support more languages
This commit is contained in:
parent
d712b1bed1
commit
37398c7d68
27 changed files with 41 additions and 44 deletions
|
|
@ -2,7 +2,7 @@
|
|||
(container_doc_comment)
|
||||
(doc_comment)
|
||||
(line_comment)
|
||||
] @comment
|
||||
] @comment @spell
|
||||
|
||||
((line_comment) @text.note
|
||||
(#match? @text.note "^// *zig fmt: (on|off) *$")
|
||||
|
|
@ -84,7 +84,7 @@ field_constant: (IDENTIFIER) @constant
|
|||
[
|
||||
(LINESTRING)
|
||||
(STRINGLITERALSINGLE)
|
||||
] @string
|
||||
] @string @spell
|
||||
|
||||
(CHAR_LITERAL) @character
|
||||
(EscapeSequence) @string.escape
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue