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 @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 "^%%&"))

View file

@ -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

View file

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

View file

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