Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | runtime/queries/bass/highlights.scm | 4 | ||||
| -rw-r--r-- | runtime/queries/bicep/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/chuck/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/elixir/highlights.scm | 6 | ||||
| -rw-r--r-- | runtime/queries/graphql/highlights.scm | 6 | ||||
| -rw-r--r-- | runtime/queries/haskell/highlights.scm | 4 | ||||
| -rw-r--r-- | runtime/queries/hurl/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/ink/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/latex/highlights.scm | 6 | ||||
| -rw-r--r-- | runtime/queries/lean/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/pascal/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/php-only/highlights.scm | 4 | ||||
| -rw-r--r-- | runtime/queries/ripple/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/scheme/highlights.scm | 4 | ||||
| -rw-r--r-- | runtime/queries/t32/highlights.scm | 16 | ||||
| -rw-r--r-- | runtime/queries/v/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/vhdl/highlights.scm | 2 | ||||
| -rw-r--r-- | runtime/queries/vim/highlights.scm | 2 |
18 files changed, 35 insertions, 35 deletions
diff --git a/runtime/queries/bass/highlights.scm b/runtime/queries/bass/highlights.scm index e0d67350..e62393d8 100644 --- a/runtime/queries/bass/highlights.scm +++ b/runtime/queries/bass/highlights.scm @@ -69,8 +69,8 @@ (list . (symbol) @function.macro (#match? @function.macro "^(op|fn|current-scope|quote|let|provide|module|or|and|->|curryfn|for|\\$|linux)$")) (cons . (symbol) @function.macro (#match? @function.macro "^(op|fn|current-scope|quote|let|provide|module|or|and|->|curryfn|for|\\$|linux)$")) -(list . (symbol) @keyword.builtin (#match? @keyword.builtin "^(do|doc)$")) -(cons . (symbol) @keyword.builtin (#match? @keyword.builtin "^(do|doc)$")) +(list . (symbol) @keyword (#match? @keyword "^(do|doc)$")) +(cons . (symbol) @keyword (#match? @keyword "^(do|doc)$")) (list . (symbol) @keyword.control.import (#match? @keyword.control.import "^(use|import|load)$")) (cons . (symbol) @keyword.control.import (#match? @keyword.control.import "^(use|import|load)$")) diff --git a/runtime/queries/bicep/highlights.scm b/runtime/queries/bicep/highlights.scm index b80de7fd..5dc01f4a 100644 --- a/runtime/queries/bicep/highlights.scm +++ b/runtime/queries/bicep/highlights.scm @@ -183,7 +183,7 @@ (escape_sequence) @constant.character -(number) @constant.number +(number) @constant.numeric (boolean) @constant.builtin.boolean diff --git a/runtime/queries/chuck/highlights.scm b/runtime/queries/chuck/highlights.scm index 2dd14abb..b0ac0828 100644 --- a/runtime/queries/chuck/highlights.scm +++ b/runtime/queries/chuck/highlights.scm @@ -4,7 +4,7 @@ "do" @keyword.control.repeat "fun" @keyword.function "function" @keyword.function -"if" @keyword.control.conditionl +"if" @keyword.control.conditional "repeat" @keyword.control.repeat "return" @keyword.control.return "spork" @function.builtin diff --git a/runtime/queries/elixir/highlights.scm b/runtime/queries/elixir/highlights.scm index c93accd0..2c569d42 100644 --- a/runtime/queries/elixir/highlights.scm +++ b/runtime/queries/elixir/highlights.scm @@ -99,9 +99,9 @@ (sigil (sigil_name) @__name__ - quoted_start: _ @string.regex - quoted_end: _ @string.regex - (#match? @__name__ "^[rR]$")) @string.regex + quoted_start: _ @string.regexp + quoted_end: _ @string.regexp + (#match? @__name__ "^[rR]$")) @string.regexp ; Calls diff --git a/runtime/queries/graphql/highlights.scm b/runtime/queries/graphql/highlights.scm index 9fab4051..b65225f0 100644 --- a/runtime/queries/graphql/highlights.scm +++ b/runtime/queries/graphql/highlights.scm @@ -100,11 +100,11 @@ (string_value) @string -(int_value) @constants.numeric.integer +(int_value) @constant.numeric.integer -(float_value) @constants.numeric.float +(float_value) @constant.numeric.float -(boolean_value) @constants.builtin.boolean +(boolean_value) @constant.builtin.boolean ; Literals ;--------- diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm index b0efb5b4..562f5653 100644 --- a/runtime/queries/haskell/highlights.scm +++ b/runtime/queries/haskell/highlights.scm @@ -429,10 +429,10 @@ ; Fields (field_name - (variable) @variable.member) + (variable) @variable.other.member) (import_name (name) . (children - (variable) @variable.member)) + (variable) @variable.other.member)) diff --git a/runtime/queries/hurl/highlights.scm b/runtime/queries/hurl/highlights.scm index e591add2..a141c41a 100644 --- a/runtime/queries/hurl/highlights.scm +++ b/runtime/queries/hurl/highlights.scm @@ -23,7 +23,7 @@ (quoted_string) @string (json_string) @string (file_value) @string.special.path -(regex) @string.regex +(regex) @string.regexp [ "\\" diff --git a/runtime/queries/ink/highlights.scm b/runtime/queries/ink/highlights.scm index 771721a1..1637d746 100644 --- a/runtime/queries/ink/highlights.scm +++ b/runtime/queries/ink/highlights.scm @@ -1,6 +1,6 @@ ; tags and labels (label) @label -(tag (identifier) @commment) +(tag (identifier) @comment) (tag) @comment ; values diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm index 34745d81..faeff7de 100644 --- a/runtime/queries/latex/highlights.scm +++ b/runtime/queries/latex/highlights.scm @@ -204,7 +204,7 @@ ((generic_command command: (command_name) @_name . - arg: (curly_group (_) @markup.link.uri)) + arg: (curly_group (_) @markup.link.url)) (#match? @_name "^(\\\\url|\\\\href)$")) ;; File inclusion commands @@ -228,8 +228,8 @@ command: _ @keyword.control.import path: (curly_group_path) @string) (biblatex_include - "\\addbibresource" @include - glob: (curly_group_glob_pattern) @string.regex) + "\\addbibresource" @keyword.control.import + glob: (curly_group_glob_pattern) @string.regexp) (graphics_include command: _ @keyword.control.import diff --git a/runtime/queries/lean/highlights.scm b/runtime/queries/lean/highlights.scm index 648507f7..8fbe5f86 100644 --- a/runtime/queries/lean/highlights.scm +++ b/runtime/queries/lean/highlights.scm @@ -72,7 +72,7 @@ ["for" "in" "do"] @keyword.control.repeat -(import) @include +"import" @keyword.control.import ; Tokens diff --git a/runtime/queries/pascal/highlights.scm b/runtime/queries/pascal/highlights.scm index ed689573..b0ac383f 100644 --- a/runtime/queries/pascal/highlights.scm +++ b/runtime/queries/pascal/highlights.scm @@ -154,7 +154,7 @@ ; -- Literals -(literalNumber) @constant.builtin.numeric +(literalNumber) @constant.numeric (literalString) @string ; -- Builtin constants diff --git a/runtime/queries/php-only/highlights.scm b/runtime/queries/php-only/highlights.scm index d19e0cee..720d6ea1 100644 --- a/runtime/queries/php-only/highlights.scm +++ b/runtime/queries/php-only/highlights.scm @@ -66,8 +66,8 @@ ] @string (boolean) @constant.builtin.boolean (null) @constant.builtin -(integer) @constant.builtin.integer -(float) @constant.builtin.float +(integer) @constant.numeric.integer +(float) @constant.numeric.float (comment) @comment "$" @operator diff --git a/runtime/queries/ripple/highlights.scm b/runtime/queries/ripple/highlights.scm index 33957c56..456cd095 100644 --- a/runtime/queries/ripple/highlights.scm +++ b/runtime/queries/ripple/highlights.scm @@ -117,7 +117,7 @@ "${" @punctuation.special "}" @punctuation.special) -(number) @number +(number) @constant.numeric (true) @constant.builtin.boolean (false) @constant.builtin.boolean (null) @constant.builtin diff --git a/runtime/queries/scheme/highlights.scm b/runtime/queries/scheme/highlights.scm index 288fcfe9..f066360b 100644 --- a/runtime/queries/scheme/highlights.scm +++ b/runtime/queries/scheme/highlights.scm @@ -124,8 +124,8 @@ (list . - ((symbol) @keyword.conditional - (#any-of? @keyword.conditional "if" "cond" "case" "when" "unless"))) + ((symbol) @keyword.control.conditional + (#any-of? @keyword.control.conditional "if" "cond" "case" "when" "unless"))) (list . diff --git a/runtime/queries/t32/highlights.scm b/runtime/queries/t32/highlights.scm index bcfa3add..bce88fd9 100644 --- a/runtime/queries/t32/highlights.scm +++ b/runtime/queries/t32/highlights.scm @@ -143,13 +143,13 @@ ; Returns ( (command_expression - command: (identifier) @keyword.return) - (#match? @keyword.return "^[eE][nN][dD]([dD][oO])?$") + command: (identifier) @keyword.control.return) + (#match? @keyword.control.return "^[eE][nN][dD]([dD][oO])?$") ) ( (command_expression - command: (identifier) @keyword.return) - (#match? @keyword.return "^[rR][eE][tT][uU][rR][nN]$") + command: (identifier) @keyword.control.return) + (#match? @keyword.control.return "^[rR][eE][tT][uU][rR][nN]$") ) @@ -213,14 +213,14 @@ ; Control flow (if_block - command: (identifier) @keyword.control.conditional.if) + command: (identifier) @keyword.control.conditional) (else_block - command: (identifier) @keyword.control.control.else) + command: (identifier) @keyword.control.conditional) (while_block - command: (identifier) @keyword.control.repeat.while) + command: (identifier) @keyword.control.repeat) (repeat_block - command: (identifier) @keyword.control.loop) + command: (identifier) @keyword.control.repeat) diff --git a/runtime/queries/v/highlights.scm b/runtime/queries/v/highlights.scm index 00bf9e79..d9a9f827 100644 --- a/runtime/queries/v/highlights.scm +++ b/runtime/queries/v/highlights.scm @@ -159,7 +159,7 @@ [ "fn" -] @keyword.control.function +] @keyword.function [ diff --git a/runtime/queries/vhdl/highlights.scm b/runtime/queries/vhdl/highlights.scm index 71b8a5bd..5487343d 100644 --- a/runtime/queries/vhdl/highlights.scm +++ b/runtime/queries/vhdl/highlights.scm @@ -249,7 +249,7 @@ "," "." ";" -] @punctuation.delimiters +] @punctuation.delimiter [ "(" diff --git a/runtime/queries/vim/highlights.scm b/runtime/queries/vim/highlights.scm index d2686241..2851e202 100644 --- a/runtime/queries/vim/highlights.scm +++ b/runtime/queries/vim/highlights.scm @@ -17,7 +17,7 @@ "finally" "endtry" "throw" -] @keyword.control.except +] @keyword.control.exception [ "for" |