mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 08:20:05 -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
|
|
@ -185,8 +185,7 @@
|
|||
; Literals
|
||||
|
||||
(interpreted_string_literal) @string
|
||||
(raw_string_literal) @string
|
||||
(raw_string_literal) @spell
|
||||
(raw_string_literal) @string @spell
|
||||
(rune_literal) @string
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
|
|
@ -202,8 +201,7 @@
|
|||
. (literal_element (identifier) @field))
|
||||
(field_declaration name: (field_identifier) @field)
|
||||
|
||||
(comment) @comment
|
||||
(comment) @spell
|
||||
(comment) @comment @spell
|
||||
|
||||
(ERROR) @error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue