mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(latex, query, tablegen, thrift): disable spelling in shebangs
This commit is contained in:
parent
57476501e2
commit
ead283734b
4 changed files with 7 additions and 7 deletions
|
|
@ -332,8 +332,8 @@
|
|||
(comment_environment)
|
||||
] @comment @spell
|
||||
|
||||
((line_comment) @keyword.directive
|
||||
((line_comment) @keyword.directive @nospell
|
||||
(#lua-match? @keyword.directive "^%% !TeX"))
|
||||
|
||||
((line_comment) @keyword.directive
|
||||
((line_comment) @keyword.directive @nospell
|
||||
(#lua-match? @keyword.directive "^%%&"))
|
||||
|
|
|
|||
|
|
@ -53,17 +53,17 @@
|
|||
.
|
||||
(comment)*
|
||||
.
|
||||
(comment) @keyword.import)
|
||||
(comment) @keyword.import @nospell)
|
||||
(#lua-match? @keyword.import "^;+ *inherits *:"))
|
||||
|
||||
((program
|
||||
.
|
||||
(comment)*
|
||||
.
|
||||
(comment) @keyword.directive)
|
||||
(comment) @keyword.directive @nospell)
|
||||
(#lua-match? @keyword.directive "^;+ *extends *$"))
|
||||
|
||||
((comment) @keyword.directive
|
||||
((comment) @keyword.directive @nospell
|
||||
(#lua-match? @keyword.directive "^;+%s*format%-ignore%s*$"))
|
||||
|
||||
((predicate
|
||||
|
|
|
|||
|
|
@ -155,5 +155,5 @@
|
|||
(multiline_comment)
|
||||
] @comment @spell
|
||||
|
||||
((comment) @keyword.directive
|
||||
((comment) @keyword.directive @nospell
|
||||
(#lua-match? @keyword.directive "^.*RUN"))
|
||||
|
|
|
|||
|
|
@ -241,5 +241,5 @@
|
|||
((comment) @comment.documentation
|
||||
(#lua-match? @comment.documentation "^///$"))
|
||||
|
||||
((comment) @keyword.directive
|
||||
((comment) @keyword.directive @nospell
|
||||
(#lua-match? @keyword.directive "#!.*"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue