diff options
| -rw-r--r-- | queries/latex/highlights.scm | 4 | ||||
| -rw-r--r-- | queries/query/highlights.scm | 6 | ||||
| -rw-r--r-- | queries/tablegen/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/thrift/highlights.scm | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index de652d6b5..3fa25f3f5 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -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 "^%%&")) diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm index abc7aa50a..210d03dc3 100644 --- a/queries/query/highlights.scm +++ b/queries/query/highlights.scm @@ -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 diff --git a/queries/tablegen/highlights.scm b/queries/tablegen/highlights.scm index 8c3c42be6..a7b200378 100644 --- a/queries/tablegen/highlights.scm +++ b/queries/tablegen/highlights.scm @@ -155,5 +155,5 @@ (multiline_comment) ] @comment @spell -((comment) @keyword.directive +((comment) @keyword.directive @nospell (#lua-match? @keyword.directive "^.*RUN")) diff --git a/queries/thrift/highlights.scm b/queries/thrift/highlights.scm index 8955faa1f..b88106f1e 100644 --- a/queries/thrift/highlights.scm +++ b/queries/thrift/highlights.scm @@ -241,5 +241,5 @@ ((comment) @comment.documentation (#lua-match? @comment.documentation "^///$")) -((comment) @keyword.directive +((comment) @keyword.directive @nospell (#lua-match? @keyword.directive "#!.*")) |
