queries/*/highlights.scm : remove @spell for strings

This commit is contained in:
ShellCode33 2023-08-07 15:20:09 +02:00 committed by Lewis Russell
parent d9be302f74
commit d9e75a1736
20 changed files with 20 additions and 26 deletions

View file

@ -96,7 +96,7 @@
"raise"
] @exception
(comment) @comment @spell
(string_literal) @string @spell
(string_literal) @string
(character_literal) @string
(numeric_literal) @number

View file

@ -7,7 +7,7 @@
(amount_tolerance) @number
(currency) @property
(key) @label
(string) @string @spell
(string) @string
(narration) @string @spell
(payee) @string @spell
(tag) @constant

View file

@ -18,7 +18,7 @@
(#set! "priority" 105) ; Higher priority to mark the whole sexpr as a comment
)
(kwd_lit) @symbol
(str_lit) @string @spell
(str_lit) @string
(num_lit) @number
(char_lit) @character
(bool_lit) @boolean

View file

@ -60,7 +60,7 @@
package: (_) @namespace)
"cl" @namespace
(str_lit) @string @spell
(str_lit) @string
(num_lit) @number

View file

@ -194,7 +194,7 @@
((string_fragment) @preproc
(#eq? @preproc "use strict"))
(string) @string @spell
(string) @string
(template_string) @string
(escape_sequence) @string.escape
(regex_pattern) @string.regex

View file

@ -32,7 +32,7 @@
(comment) @comment @spell
; Strings
(string) @string @spell
(string) @string
; Modules
(alias) @type

View file

@ -23,7 +23,7 @@
(boolean) @boolean
(number) @number
(string) @string @spell
(string) @string
(escape_sequence) @string.escape
(symbol) @variable

View file

@ -76,8 +76,8 @@
(target_type (name)) @type
; Strings
(string) @string @spell
(multiline_string) @string @spell
(string) @string
(multiline_string) @string
; Constants
(strength_value) @constant

View file

@ -197,7 +197,7 @@
; Literals
(interpreted_string_literal) @string
(raw_string_literal) @string @spell
(raw_string_literal) @string
(rune_literal) @string
(escape_sequence) @string.escape

View file

@ -156,6 +156,5 @@
;; ----------------------------------------------------------------------------
;; Spell checking
(string) @spell
(comment) @spell

View file

@ -1,10 +1,10 @@
;; >> Literals
(kwd_lit) @symbol
(str_lit) @string @spell
(long_str_lit) @string @spell
(buf_lit) @string @spell
(long_buf_lit) @string @spell
(str_lit) @string
(long_str_lit) @string
(buf_lit) @string
(long_buf_lit) @string
(num_lit) @number
(bool_lit) @boolean
(nil_lit) @constant.builtin

View file

@ -12,8 +12,6 @@
(array (string) @string)
(string_content) @spell
(ERROR) @error
["," ":"] @punctuation.delimiter

View file

@ -241,7 +241,7 @@
(number) @number
(string) @string @spell
(string) @string
;; Error
(ERROR) @error

View file

@ -198,7 +198,7 @@
(number) @number
(string) @string @spell
(string) @string
(nil) @constant.builtin

View file

@ -135,7 +135,7 @@
(heredoc_body)
(nowdoc_body)
(shell_command_expression) ; backtick operator: `ls -la`
] @string @spell
] @string
(escape_sequence) @string.escape
(boolean) @boolean

View file

@ -6,7 +6,7 @@
(operator) @operator
(string) @string @spell
(string) @string
(file) @string

View file

@ -20,7 +20,6 @@
[(string)
(here_string)
(byte_string)] @string
(string) @spell
(escape_sequence) @string.escape

View file

@ -192,8 +192,6 @@
(comment)+ @comment.documentation
(method))
(string_content) @spell
; Operators
[

View file

@ -5,7 +5,7 @@
(number) @number
(character) @character
(boolean) @boolean
(string) @string @spell
(string) @string
[(comment)
(block_comment)] @comment @spell

View file

@ -177,7 +177,7 @@
[
(double_quoted_string)
(string_literal)
] @string @spell
] @string
[
(default_nettype_compiler_directive)