mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
highlights(rst): don't spell check links
This commit is contained in:
parent
405fe27cd1
commit
7bef1d5330
1 changed files with 3 additions and 5 deletions
|
|
@ -82,7 +82,7 @@
|
||||||
|
|
||||||
(strong) @text.strong
|
(strong) @text.strong
|
||||||
|
|
||||||
(standalone_hyperlink) @text.uri
|
(standalone_hyperlink) @text.uri @nospell
|
||||||
|
|
||||||
(role) @function
|
(role) @function
|
||||||
|
|
||||||
|
|
@ -151,7 +151,7 @@
|
||||||
(footnote_reference)
|
(footnote_reference)
|
||||||
(citation_reference)
|
(citation_reference)
|
||||||
(reference)
|
(reference)
|
||||||
] @text.reference
|
] @text.reference @nospell
|
||||||
|
|
||||||
;; Others
|
;; Others
|
||||||
|
|
||||||
|
|
@ -164,9 +164,7 @@
|
||||||
name: (type) @_directive
|
name: (type) @_directive
|
||||||
body: (body
|
body: (body
|
||||||
(content) @spell
|
(content) @spell
|
||||||
(#not-any-of? @_directive "code" "code-block" "sourcecode")
|
(#not-any-of? @_directive "code" "code-block" "sourcecode")))
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
(paragraph) @spell
|
(paragraph) @spell
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue