aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/clojure/highlights.scm4
-rw-r--r--queries/commonlisp/highlights.scm6
-rw-r--r--queries/fennel/highlights.scm4
-rw-r--r--queries/racket/highlights.scm4
-rw-r--r--queries/scheme/highlights.scm4
5 files changed, 13 insertions, 9 deletions
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm
index e5609b25b..a070b7ffd 100644
--- a/queries/clojure/highlights.scm
+++ b/queries/clojure/highlights.scm
@@ -18,12 +18,12 @@
(#set! "priority" 105) ; Higher priority to mark the whole sexpr as a comment
)
(kwd_lit) @symbol
-(str_lit) @string
+(str_lit) @string @spell
(num_lit) @number
(char_lit) @character
(bool_lit) @boolean
(nil_lit) @constant.builtin
-(comment) @comment
+(comment) @comment @spell
(regex_lit) @string.regex
["'" "`"] @string.escape
diff --git a/queries/commonlisp/highlights.scm b/queries/commonlisp/highlights.scm
index 5cf7c1eb0..536b19c81 100644
--- a/queries/commonlisp/highlights.scm
+++ b/queries/commonlisp/highlights.scm
@@ -60,7 +60,7 @@
package: (_) @namespace)
"cl" @namespace
-(str_lit) @string
+(str_lit) @string @spell
(num_lit) @number
@@ -68,7 +68,7 @@
(nil_lit) @constant.builtin
-(comment) @comment
+(comment) @comment @spell
;; dynamic variables
((sym_lit) @variable.builtin
@@ -90,7 +90,7 @@
["(" ")"] @punctuation.bracket
-(block_comment) @comment
+(block_comment) @comment @spell
(with_clause
diff --git a/queries/fennel/highlights.scm b/queries/fennel/highlights.scm
index 7322e55c3..fcb7e8b5e 100644
--- a/queries/fennel/highlights.scm
+++ b/queries/fennel/highlights.scm
@@ -1,4 +1,4 @@
-(comment) @comment
+(comment) @comment @spell
[
"("
@@ -23,7 +23,7 @@
(boolean) @boolean
(number) @number
-(string) @string
+(string) @string @spell
(escape_sequence) @string.escape
(symbol) @variable
diff --git a/queries/racket/highlights.scm b/queries/racket/highlights.scm
index ebf9a0f5c..91aa77d9f 100644
--- a/queries/racket/highlights.scm
+++ b/queries/racket/highlights.scm
@@ -20,6 +20,7 @@
[(string)
(here_string)
(byte_string)] @string
+(string) @spell
(escape_sequence) @string.escape
@@ -31,6 +32,9 @@
(block_comment)
(sexp_comment)] @comment
+[(comment)
+ (block_comment)] @spell
+
;; symbol ;;
(symbol) @variable
diff --git a/queries/scheme/highlights.scm b/queries/scheme/highlights.scm
index 497512b87..4854a4c85 100644
--- a/queries/scheme/highlights.scm
+++ b/queries/scheme/highlights.scm
@@ -5,9 +5,9 @@
(number) @number
(character) @character
(boolean) @boolean
-(string) @string
+(string) @string @spell
[(comment)
- (block_comment)] @comment
+ (block_comment)] @comment @spell
;; highlight for datum comment
;; copied from ../clojure/highlights.scm