mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
feat(spell): upstream spell queries from spellsitter
This commit is contained in:
parent
3e09c81b4c
commit
2a63ea5665
13 changed files with 49 additions and 0 deletions
|
|
@ -186,6 +186,7 @@
|
|||
|
||||
(interpreted_string_literal) @string
|
||||
(raw_string_literal) @string
|
||||
(raw_string_literal) @spell
|
||||
(rune_literal) @string
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
|
|
@ -202,5 +203,12 @@
|
|||
(field_declaration name: (field_identifier) @field)
|
||||
|
||||
(comment) @comment
|
||||
(comment) @spell
|
||||
|
||||
(ERROR) @error
|
||||
|
||||
((interpreted_string_literal) @spell
|
||||
(#not-has-parent? @spell
|
||||
import_spec
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue