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" "raise"
] @exception ] @exception
(comment) @comment @spell (comment) @comment @spell
(string_literal) @string @spell (string_literal) @string
(character_literal) @string (character_literal) @string
(numeric_literal) @number (numeric_literal) @number

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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