aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/query
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-05-24 19:18:11 +0000
committerJosh Rahm <joshuarahm@gmail.com>2024-05-24 19:18:11 +0000
commitff7ed8f586589d620a806c3758fac4a47a8e7e15 (patch)
tree729bbcb92231538fa61dab6c3d890b025484b7f5 /runtime/queries/query
parent376914f419eb08fdf4c1a63a77e1f035898a0f10 (diff)
parent28c04948a1c887a1cc0cb64de79fa32631700466 (diff)
downloadrneovim-ff7ed8f586589d620a806c3758fac4a47a8e7e15.tar.gz
rneovim-ff7ed8f586589d620a806c3758fac4a47a8e7e15.tar.bz2
rneovim-ff7ed8f586589d620a806c3758fac4a47a8e7e15.zip
Merge remote-tracking branch 'upstream/master' into mix_20240309
Diffstat (limited to 'runtime/queries/query')
-rw-r--r--runtime/queries/query/highlights.scm28
1 files changed, 13 insertions, 15 deletions
diff --git a/runtime/queries/query/highlights.scm b/runtime/queries/query/highlights.scm
index cdedb23e29..210d03dc33 100644
--- a/runtime/queries/query/highlights.scm
+++ b/runtime/queries/query/highlights.scm
@@ -53,35 +53,33 @@
.
(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
name: (identifier) @_name
- parameters:
- (parameters
- (string
- "\"" @string
- "\"" @string) @string.regexp))
+ parameters: (parameters
+ (string
+ "\"" @string
+ "\"" @string) @string.regexp))
(#any-of? @_name "match" "not-match" "vim-match" "not-vim-match" "lua-match" "not-lua-match"))
((predicate
name: (identifier) @_name
- parameters:
- (parameters
- (string
- "\"" @string
- "\"" @string) @string.regexp
- .
- (string) .))
+ parameters: (parameters
+ (string
+ "\"" @string
+ "\"" @string) @string.regexp
+ .
+ (string) .))
(#any-of? @_name "gsub" "not-gsub"))