fix(kitty): Fixed issues with the highlight queries

This commit is contained in:
Shawon 2025-09-17 23:36:01 +06:00
parent a3c1afb87a
commit f04776d361
3 changed files with 93 additions and 159 deletions

View file

@ -160,6 +160,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka
[kcl](https://github.com/kcl-lang/tree-sitter-kcl) | unstable | `HF J ` | | @bertbaron [kcl](https://github.com/kcl-lang/tree-sitter-kcl) | unstable | `HF J ` | | @bertbaron
[kconfig](https://github.com/tree-sitter-grammars/tree-sitter-kconfig) | unstable | `HFIJL` | | @amaanq [kconfig](https://github.com/tree-sitter-grammars/tree-sitter-kconfig) | unstable | `HFIJL` | | @amaanq
[kdl](https://github.com/tree-sitter-grammars/tree-sitter-kdl) | unstable | `HFIJL` | | @amaanq [kdl](https://github.com/tree-sitter-grammars/tree-sitter-kdl) | unstable | `HFIJL` | | @amaanq
[kitty](https://github.com/OXY2DEV/tree-sitter-kitty) | unstable | `H  J ` | | @OXY2DEV
[kotlin](https://github.com/fwcd/tree-sitter-kotlin) | unstable | `HF JL` | | @SalBakraa [kotlin](https://github.com/fwcd/tree-sitter-kotlin) | unstable | `HF JL` | | @SalBakraa
[koto](https://github.com/koto-lang/tree-sitter-koto) | unstable | `HF JL` | | @irh [koto](https://github.com/koto-lang/tree-sitter-koto) | unstable | `HF JL` | | @irh
[kusto](https://github.com/Willem-J-an/tree-sitter-kusto) | unstable | `H  J ` | | @Willem-J-an [kusto](https://github.com/Willem-J-an/tree-sitter-kusto) | unstable | `H  J ` | | @Willem-J-an

View file

@ -1207,7 +1207,7 @@ return {
}, },
kitty = { kitty = {
install_info = { install_info = {
revision = '57e8608da8c23381887e2c954e7d70a86b964535', revision = '386651997ed651f248d128dbbedb3ccbd93f0f0b',
url = 'https://github.com/OXY2DEV/tree-sitter-kitty', url = 'https://github.com/OXY2DEV/tree-sitter-kitty',
}, },
maintainers = { '@OXY2DEV' }, maintainers = { '@OXY2DEV' },

View file

@ -1,13 +1,11 @@
; Extra Nodes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Extra Nodes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(line_continuation) @comment (line_continuation) @comment
; Primitive data types ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Primitive data types ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ [
(pixel) (pixel)
(percentage) (percentage)
(number) (number)
] @number ] @number
(pixel (pixel
@ -17,13 +15,12 @@
"%" @type) "%" @type)
[ [
(boolean) (boolean)
"enabled" "enabled"
"disabled" "disabled"
] @boolean ] @boolean
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
; Hexadecimal colors. ; Hexadecimal colors.
(color) @constant (color) @constant
@ -31,40 +28,36 @@
((color) @constant ((color) @constant
(#match? @constant "^[^#]")) (#match? @constant "^[^#]"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(string) @string (string) @string
(time (time
duration: (number) @number duration: (number) @number
suffix: (time_suffix) @type) suffix: (time_suffix) @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
[
(ctrl)
(alt)
(shift)
(function)
(super)
(mouse_button)
(left)
(right)
(middle)
] @constant.builtin
[ [
(ctrl) "+"
(alt) ">"
(shift)
(function)
(super)
(mouse_button)
(left)
(right)
(middle)
] @constant.builtin
[
"+"
">"
] @punctuation.delimiter ] @punctuation.delimiter
(special) @variable.builtin (special) @variable.builtin
(key) @character (key) @character
; Actions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Actions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(generic_action) @function.call (generic_action) @function.call
(copy_to_buffer (copy_to_buffer
@ -78,8 +71,7 @@
(send_key (send_key
"send_key" @function.call) "send_key" @function.call)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(send_text (send_text
"send_text" @function.call) "send_text" @function.call)
@ -94,8 +86,7 @@
"all" "all"
] @constant) ] @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(show_kitty_doc (show_kitty_doc
"show_kitty_doc" @function.call "show_kitty_doc" @function.call
topic: (string) @label) topic: (string) @label)
@ -109,22 +100,19 @@
action: (clear_action) @constant action: (clear_action) @constant
target: (clear_target) @type) target: (clear_target) @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(combine (combine
"combine" @function.call) "combine" @function.call)
(combine_action (combine_action
(separator) @punctuation.delimiter) (separator) @punctuation.delimiter)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(disable_ligatures_in (disable_ligatures_in
"disable_ligatures_in" @function.call "disable_ligatures_in" @function.call
target: (ligature_target) @type target: (ligature_target) @type
type: (ligature_disabled) @constant) type: (ligature_disabled) @constant)
(kitten (kitten
"kitten" @function.call "kitten" @function.call
target: (string) @type) target: (string) @type)
@ -134,14 +122,13 @@
(string) @variable.parameter (string) @variable.parameter
(#match? @variable.parameter "^-")) (#match? @variable.parameter "^-"))
;; Launch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Launch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(launch (launch
"launch" @function.call) "launch" @function.call)
(launch_source_window (launch_source_window
"--source-window" @constant "--source-window" @constant
pattern: (string) @string.regex) pattern: (string) @string.regexp)
(launch_window_title (launch_window_title
[ [
@ -172,14 +159,12 @@
(launch_env (launch_env
"--env" @constant "--env" @constant
variable: (string) @variable.builtin variable: (string) @variable.builtin
"=" @punctuation.delimiter "=" @punctuation.delimiter
value: (string) @string) value: (string) @string)
(launch_var (launch_var
"--var" @constant "--var" @constant
variable: (string) @variable.builtin variable: (string) @variable.builtin
"=" @punctuation.delimiter "=" @punctuation.delimiter
value: (string) @string) value: (string) @string)
@ -211,7 +196,7 @@
(launch_next_to (launch_next_to
"--next-to" @constant "--next-to" @constant
pattern: (string) @string.regex) pattern: (string) @string.regexp)
(launch_bias (launch_bias
"--bias" @constant) "--bias" @constant)
@ -221,15 +206,14 @@
"="? @punctuation.delimiter "="? @punctuation.delimiter
_? @type) _? @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(launch_remote_password (launch_remote_password
"--remote-control-password" @constant) "--remote-control-password" @constant)
(launch_remote_password (launch_remote_password
[ [
"'" "'"
"\"" "\""
] @punctuation.delimiter) ] @punctuation.delimiter)
(launch_remote_password (launch_remote_password
@ -238,8 +222,7 @@
(remote_actions (remote_actions
(string) @constant.macro) (string) @constant.macro)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(launch_stdin_source (launch_stdin_source
"--stdin-source" @constant "--stdin-source" @constant
"=" @punctuation.delimiter "=" @punctuation.delimiter
@ -255,8 +238,7 @@
"="? @punctuation.delimiter "="? @punctuation.delimiter
_? @type) _? @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(launch_marker (launch_marker
"--marker" @constant) "--marker" @constant)
@ -265,10 +247,9 @@
(marker_entry (marker_entry
id: (marker_id) @label id: (marker_id) @label
pattern: (string) @string.regex) pattern: (string) @string.regexp)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
(launch_os_window_class (launch_os_window_class
"--os-window-class" @constant "--os-window-class" @constant
class: (string) @type) class: (string) @type)
@ -306,8 +287,7 @@
name: (string) @variable.builtin name: (string) @variable.builtin
"=" @punctuation.delimiter) "=" @punctuation.delimiter)
;;; OS Panel ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; OS Panel ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; `option` may include any of the `os_panel_*` nodes. ; `option` may include any of the `os_panel_*` nodes.
; The first child of these nodes are **always** the ; The first child of these nodes are **always** the
; option name. ; option name.
@ -317,8 +297,7 @@
_ @variable.builtin _ @variable.builtin
"=" @punctuation.delimiter)) "=" @punctuation.delimiter))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(launch_watcher (launch_watcher
[ [
"--watcher" "--watcher"
@ -331,8 +310,7 @@
"="? @punctuation.delimiter "="? @punctuation.delimiter
_? @type) _? @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(load_config_file (load_config_file
"load_config_file" @function.call "load_config_file" @function.call
path: (string)? @string.special.path) path: (string)? @string.special.path)
@ -348,16 +326,14 @@
(sleep (sleep
"sleep" @function.call) "sleep" @function.call)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(mouse_handle_click (mouse_handle_click
"mouse_handle_click" @function.call) "mouse_handle_click" @function.call)
(handle_click_actions (handle_click_actions
_ @type) _ @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(mouse_selection (mouse_selection
"mouse_selection" @function.call "mouse_selection" @function.call
selection: (mouse_selection_type) @type) selection: (mouse_selection_type) @type)
@ -414,16 +390,14 @@
"detach_window" @function.call "detach_window" @function.call
into: (detach_into)? @type) into: (detach_into)? @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(set_background_opacity (set_background_opacity
"set_background_opacity" @function.call) "set_background_opacity" @function.call)
((background_alpha) @constant ((background_alpha) @constant
(#eq? @constant "default")) (#eq? @constant "default"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(nth_os_window (nth_os_window
"nth_os_window" @function.call "nth_os_window" @function.call
window: (number) @label) window: (number) @label)
@ -432,8 +406,7 @@
"toggle_layout" @function.call "toggle_layout" @function.call
name: (layout_name)? @type) name: (layout_name)? @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(goto_layout (goto_layout
"goto_layout" @function.call "goto_layout" @function.call
name: (layout_name) @type name: (layout_name) @type
@ -449,8 +422,7 @@
(layout_option (layout_option
value: (string) @constant) value: (string) @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(remote_control (remote_control
"remote_control" @function.call) "remote_control" @function.call)
@ -471,7 +443,6 @@
open_as: (kitty_shell_open_as)? @type) open_as: (kitty_shell_open_as)? @type)
; Colors ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Colors ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(set_colors (set_colors
"set_colors" @function.call) "set_colors" @function.call)
@ -498,20 +469,19 @@
(color_match (color_match
[ [
"-m" "-m"
"--match" "--match"
] @constant ] @constant
(string) @string.regex) (string) @string.regexp)
(color_match_tab (color_match_tab
[ [
"-t" "-t"
"--match-tab" "--match-tab"
] @constant ] @constant
(string) @string.regex) (string) @string.regexp)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
(color_option (color_option
name: (color_option_name) @keyword) name: (color_option_name) @keyword)
@ -524,14 +494,13 @@
name: (color_option_name) @variable.builtin) name: (color_option_name) @variable.builtin)
; Includes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Includes ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(include (include
"include" @keyword "include" @keyword
path: (string) @string.special.path) path: (string) @string.special.path)
(include (include
"globinclude" @keyword "globinclude" @keyword
glob: (string) @string.regex) glob: (string) @string.regexp)
(include (include
"geninclude" @keyword "geninclude" @keyword
@ -542,7 +511,6 @@
environment_variable: (string) @variable.builtin) environment_variable: (string) @variable.builtin)
; Keyboard shortcut ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Keyboard shortcut ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(keyboard_shortcut (keyboard_shortcut
"map" @keyword) "map" @keyword)
@ -551,7 +519,6 @@
condition: (string) @string.special) condition: (string) @string.special)
; Mouse shortcuts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Mouse shortcuts ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(mouse_shortcut (mouse_shortcut
"mouse_map" @keyword "mouse_map" @keyword
event_type: (mouse_event) @type) event_type: (mouse_event) @type)
@ -566,7 +533,6 @@
"," @punctuation.delimiter) "," @punctuation.delimiter)
; Options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Options ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(numeric_option (numeric_option
[ [
"font_size" "font_size"
@ -605,7 +571,6 @@
"macos_thicken_font" "macos_thicken_font"
"macos_menubar_title_max_length" "macos_menubar_title_max_length"
"visual_bell_duration" "visual_bell_duration"
"clipboard_max_size" "clipboard_max_size"
] @keyword) ] @keyword)
@ -636,7 +601,6 @@
"wayland_enable_ime" "wayland_enable_ime"
"clear_all_shortcuts" "clear_all_shortcuts"
"remember_window_size" "remember_window_size"
"dynamic_background_opacity" "dynamic_background_opacity"
"allow_hyperlinks" "allow_hyperlinks"
] @keyword) ] @keyword)
@ -659,7 +623,6 @@
"startup_session" "startup_session"
"file_transfer_confirmation_bypass" "file_transfer_confirmation_bypass"
"term" "term"
"strip_trailing_spaces" "strip_trailing_spaces"
"pointer_options" "pointer_options"
"command_on_bell" "command_on_bell"
@ -695,8 +658,7 @@
"tab_bar_background" "tab_bar_background"
] @keyword) ] @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(font_option (font_option
[ [
"font_family" "font_family"
@ -711,15 +673,13 @@
(font_value (font_value
. .
(string) @constant (string) @constant
(#eq? @constant "auto") (#eq? @constant "auto") .)
.)
(font_property (font_property
name: (string) @variable.parameter name: (string) @variable.parameter
"=" @punctuation.delimiter) "=" @punctuation.delimiter)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(symbol_map (symbol_map
"symbol_map" @keyword "symbol_map" @keyword
codepoints: (string) @constant codepoints: (string) @constant
@ -729,8 +689,7 @@
"narrow_symbols" @keyword "narrow_symbols" @keyword
codepoints: (string) @constant) codepoints: (string) @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(font_features (font_features
"font_features" @keyword "font_features" @keyword
font: (string)? @constant) font: (string)? @constant)
@ -741,8 +700,7 @@
(feature_list (feature_list
(string) @string.special) (string) @string.special)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(modify_font (modify_font
"modify_font" @keyword "modify_font" @keyword
type: (font_modification_type) @type) type: (font_modification_type) @type)
@ -759,16 +717,14 @@
"dense" "dense"
] @constant) ] @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(text_composition_strategy (text_composition_strategy
"text_composition_strategy" @keyword) "text_composition_strategy" @keyword)
((composition_value) @constant ((composition_value) @constant
(#eq? @constant "platform")) (#eq? @constant "platform"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(text_fg_override_threshold (text_fg_override_threshold
"text_fg_override_threshold" @keyword) "text_fg_override_threshold" @keyword)
@ -778,8 +734,7 @@
"%" "%"
] @type) ] @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(cursor_shape (cursor_shape
"cursor_shape" @keyword) "cursor_shape" @keyword)
@ -788,13 +743,14 @@
(cursor_shape_unfocused (cursor_shape_unfocused
"cursor_shape_unfocused" @keyword) "cursor_shape_unfocused" @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(cursor_blink_interval (cursor_blink_interval
"cursor_blink_interval" @keyword) "cursor_blink_interval" @keyword)
((ease) @type ((ease) @type
(#match? @type "^\w+$")) (#any-of? @type
"linear" "ease" "ease-in-out" "ease-in" "ease-out" "step-start" "step-end" "ease" "ease-in"
"ease-out" "ease-in-out"))
(ease_step (ease_step
"steps" @function.call) "steps" @function.call)
@ -823,8 +779,7 @@
(cubic_bezier (cubic_bezier
"," @punctuation.delimiter) "," @punctuation.delimiter)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(cursor_trail_decay (cursor_trail_decay
"cursor_trail_decay" @keyword) "cursor_trail_decay" @keyword)
@ -835,22 +790,19 @@
(mouse_hide_wait (mouse_hide_wait
"mouse_hide_wait" @keyword) "mouse_hide_wait" @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(url_prefixes (url_prefixes
"url_prefixes" @keyword) "url_prefixes" @keyword)
(url_prefix_list (url_prefix_list
(string) @constant) (string) @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(url_excluded_characters (url_excluded_characters
"url_excluded_characters" @keyword "url_excluded_characters" @keyword
characters: (string) @string.special) characters: (string) @string.special)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(paste_actions (paste_actions
"paste_actions" @keyword) "paste_actions" @keyword)
@ -859,15 +811,13 @@
(paste_action) @type (paste_action) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(pointer_shape_when_dragging (pointer_shape_when_dragging
"pointer_shape_when_dragging" @keyword) "pointer_shape_when_dragging" @keyword)
(pointer) @type (pointer) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(visual_bell_color (visual_bell_color
"visual_bell_color" @keyword) "visual_bell_color" @keyword)
@ -879,8 +829,7 @@
(layout) @type (layout) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(window_border_width (window_border_width
"window_border_width" @keyword) "window_border_width" @keyword)
@ -890,16 +839,14 @@
"pt" "pt"
] @type) ] @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(box_drawing_scale (box_drawing_scale
"box_drawing_scale" @keyword) "box_drawing_scale" @keyword)
(scale_value (scale_value
"," @punctuation.delimiter) "," @punctuation.delimiter)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(window_margin_width (window_margin_width
"window_margin_width" @keyword) "window_margin_width" @keyword)
@ -912,8 +859,7 @@
(single_window_padding_width (single_window_padding_width
"single_window_padding_width" @keyword) "single_window_padding_width" @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(resize_debounce_time (resize_debounce_time
"resize_debounce_time" @keyword) "resize_debounce_time" @keyword)
@ -923,8 +869,7 @@
(tab_fade (tab_fade
"tab_fade" @keyword) "tab_fade" @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(transparent_background_colors (transparent_background_colors
"transparent_background_colors" @keyword) "transparent_background_colors" @keyword)
@ -932,8 +877,7 @@
"@" @punctuation.special "@" @punctuation.special
(alpha) @number) (alpha) @number)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(remote_control_password (remote_control_password
"remote_control_password" @keyword "remote_control_password" @keyword
password: (string) @string.special) password: (string) @string.special)
@ -941,8 +885,7 @@
(remote_actions (remote_actions
(string) @type) (string) @type)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(env (env
"env" @keyword "env" @keyword
variable: (string) @variable.builtin variable: (string) @variable.builtin
@ -962,22 +905,20 @@
"body" "body"
"app" "app"
"type" "type"
] @parameter ] @variable.parameter
":" @punctuation.delimiter ":" @punctuation.delimiter
(string) @string.regex) (string) @string.regexp)
(filter_element (filter_element
"\"" @punctuation.delimiter) "\"" @punctuation.delimiter)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(clipboard_control (clipboard_control
"clipboard_control" @keyword) "clipboard_control" @keyword)
(clipboard_action) @type (clipboard_action) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(shell_integration (shell_integration
"shell_integration" @keyword) "shell_integration" @keyword)
@ -989,8 +930,7 @@
(shell_feature) @type (shell_feature) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(clone_source_strategies (clone_source_strategies
"clone_source_strategies" @keyword) "clone_source_strategies" @keyword)
@ -999,8 +939,7 @@
(source_strategy) @type (source_strategy) @type
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(notify_on_cmd_finish (notify_on_cmd_finish
"notify_on_cmd_finish" @keyword) "notify_on_cmd_finish" @keyword)
@ -1012,14 +951,12 @@
"command" "command"
command: (string) @string.special) command: (string) @string.special)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(menu_map (menu_map
"menu_map" @keyword "menu_map" @keyword
value: (string) @string.special) value: (string) @string.special)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(wayland_titlebar_color (wayland_titlebar_color
"wayland_titlebar_color" @keyword) "wayland_titlebar_color" @keyword)
@ -1029,21 +966,18 @@
((titlebar_color) @constant ((titlebar_color) @constant
(#eq? @constant "background")) (#eq? @constant "background"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(window_logo_scale (window_logo_scale
"window_logo_scale" @keyword) "window_logo_scale" @keyword)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(confirm_os_window_close (confirm_os_window_close
"confirm_os_window_close" @keyword) "confirm_os_window_close" @keyword)
(confirm_os_window_close (confirm_os_window_close
count_background: (string) @constant) count_background: (string) @constant)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;
(kitty_mod (kitty_mod
"kitty_mod" @keyword) "kitty_mod" @keyword)
@ -1064,5 +998,4 @@
name: (string) @string.special) name: (string) @string.special)
; Comment ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Comment ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(comment) @comment (comment) @comment