mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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
|
||||
|
||||
(standalone_hyperlink) @text.uri
|
||||
(standalone_hyperlink) @text.uri @nospell
|
||||
|
||||
(role) @function
|
||||
|
||||
|
|
@ -151,7 +151,7 @@
|
|||
(footnote_reference)
|
||||
(citation_reference)
|
||||
(reference)
|
||||
] @text.reference
|
||||
] @text.reference @nospell
|
||||
|
||||
;; Others
|
||||
|
||||
|
|
@ -164,9 +164,7 @@
|
|||
name: (type) @_directive
|
||||
body: (body
|
||||
(content) @spell
|
||||
(#not-any-of? @_directive "code" "code-block" "sourcecode")
|
||||
)
|
||||
)
|
||||
(#not-any-of? @_directive "code" "code-block" "sourcecode")))
|
||||
|
||||
(paragraph) @spell
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue