feat(latex, query, tablegen, thrift): disable spelling in shebangs

This commit is contained in:
Kai Moschcau 2024-05-01 10:43:21 +02:00 committed by Christian Clason
parent 57476501e2
commit ead283734b
4 changed files with 7 additions and 7 deletions

View file

@ -332,8 +332,8 @@
(comment_environment) (comment_environment)
] @comment @spell ] @comment @spell
((line_comment) @keyword.directive ((line_comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "^%% !TeX")) (#lua-match? @keyword.directive "^%% !TeX"))
((line_comment) @keyword.directive ((line_comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "^%%&")) (#lua-match? @keyword.directive "^%%&"))

View file

@ -53,17 +53,17 @@
. .
(comment)* (comment)*
. .
(comment) @keyword.import) (comment) @keyword.import @nospell)
(#lua-match? @keyword.import "^;+ *inherits *:")) (#lua-match? @keyword.import "^;+ *inherits *:"))
((program ((program
. .
(comment)* (comment)*
. .
(comment) @keyword.directive) (comment) @keyword.directive @nospell)
(#lua-match? @keyword.directive "^;+ *extends *$")) (#lua-match? @keyword.directive "^;+ *extends *$"))
((comment) @keyword.directive ((comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "^;+%s*format%-ignore%s*$")) (#lua-match? @keyword.directive "^;+%s*format%-ignore%s*$"))
((predicate ((predicate

View file

@ -155,5 +155,5 @@
(multiline_comment) (multiline_comment)
] @comment @spell ] @comment @spell
((comment) @keyword.directive ((comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "^.*RUN")) (#lua-match? @keyword.directive "^.*RUN"))

View file

@ -241,5 +241,5 @@
((comment) @comment.documentation ((comment) @comment.documentation
(#lua-match? @comment.documentation "^///$")) (#lua-match? @comment.documentation "^///$"))
((comment) @keyword.directive ((comment) @keyword.directive @nospell
(#lua-match? @keyword.directive "#!.*")) (#lua-match? @keyword.directive "#!.*"))