Update category keywords from suggestions

Co-authored-by: uncenter <uncenter@uncenter.dev>
pull/13260/head
icefoxen 2025-04-03 16:09:31 -04:00 committed by GitHub
parent a92e4e555f
commit 608adb27f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 16 deletions

View File

@ -38,10 +38,10 @@
"length")) "length"))
(case_guard (case_guard
call: (_) @keyword.conditional) call: (_) @keyword.control.conditional)
(case_guard_or_special (case_guard_or_special
call: (_) @keyword.conditional) call: (_) @keyword.control.conditional)
(case_catch (case_catch
call: (symbol) @keyword) call: (symbol) @keyword)
@ -55,19 +55,19 @@
((symbol) @keyword.function ((symbol) @keyword.function
(#any-of? @keyword.function "fn" "lambda" "λ" "hashfn")) (#any-of? @keyword.function "fn" "lambda" "λ" "hashfn"))
((symbol) @keyword.repeat ((symbol) @keyword.control.repeat
(#any-of? @keyword.repeat "for" "each" "while")) (#any-of? @keyword.control.repeat "for" "each" "while"))
((symbol) @keyword.conditional ((symbol) @keyword.control.conditional
(#any-of? @keyword.conditional "if" "when" "match" "case" "match-try" "case-try")) (#any-of? @keyword.control.conditional "if" "when" "match" "case" "match-try" "case-try"))
((symbol) @keyword ((symbol) @keyword
(#any-of? @keyword (#any-of? @keyword
"global" "local" "let" "set" "var" "comment" "do" "doc" "eval-compiler" "lua" "macros" "unquote" "global" "local" "let" "set" "var" "comment" "do" "doc" "eval-compiler" "lua" "macros" "unquote"
"quote" "tset" "values" "tail!")) "quote" "tset" "values" "tail!"))
((symbol) @keyword.import ((symbol) @keyword.control.import
(#any-of? @keyword.import "require" "require-macros" "import-macros" "include")) (#any-of? @keyword.control.import "require" "require-macros" "import-macros" "include"))
((symbol) @function.macro ((symbol) @function.macro
(#any-of? @function.macro (#any-of? @function.macro
@ -104,22 +104,22 @@
(#eq? @variable.builtin "arg")) (#eq? @variable.builtin "arg"))
(symbol_option) @keyword.directive (symbol_option) @keyword.directive
(escape_sequence) @string.escape (escape_sequence) @constant.character.escape
(multi_symbol (multi_symbol
"." @punctuation.delimiter "." @punctuation.delimiter
member: (symbol_fragment) @variable.member) member: (symbol_fragment) @variable.other.member)
(list (list
call: (symbol) @function.call) call: (symbol) @function)
(list (list
call: (multi_symbol call: (multi_symbol
member: (symbol_fragment) @function.call .)) member: (symbol_fragment) @function .))
(multi_symbol_method (multi_symbol_method
":" @punctuation.delimiter ":" @punctuation.delimiter
method: (symbol_fragment) @function.method.call) method: (symbol_fragment) @function.method)
(quasi_quote_reader_macro (quasi_quote_reader_macro
macro: _ @punctuation.special) macro: _ @punctuation.special)
@ -136,7 +136,7 @@
(hashfn_reader_macro (hashfn_reader_macro
macro: _ @keyword.function) macro: _ @keyword.function)
(docstring) @string.documentation (docstring) @comment.block.documentation
; NOTE: The macro name is highlighted as @variable because it ; NOTE: The macro name is highlighted as @variable because it
; gives a nicer contrast instead of everything being the same ; gives a nicer contrast instead of everything being the same
@ -178,12 +178,12 @@
[ [
(boolean) (boolean)
(boolean_binding) (boolean_binding)
] @boolean ] @constant.builtin.boolean
[ [
(number) (number)
(number_binding) (number_binding)
] @number ] @constant.numeric
[ [
(string) (string)