mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 16:00: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
|
|
@ -158,6 +158,17 @@
|
|||
(title) @text.title
|
||||
|
||||
(comment) @comment
|
||||
(comment) @spell
|
||||
(comment "..") @comment
|
||||
|
||||
(directive
|
||||
name: (type) @_directive
|
||||
body: (body
|
||||
(content) @spell
|
||||
(#not-match? @_directive "code-block")
|
||||
)
|
||||
)
|
||||
|
||||
(paragraph) @spell
|
||||
|
||||
(ERROR) @error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue