diff --git a/runtime/queries/kitty/highlights.scm b/runtime/queries/kitty/highlights.scm index 2af53719e..4083e4490 100644 --- a/runtime/queries/kitty/highlights.scm +++ b/runtime/queries/kitty/highlights.scm @@ -119,7 +119,7 @@ type: _ @type) (launch_source_window - pattern: (string) @string.regex) + pattern: (string) @string.regexp) (launch_cwd directory: (string) @string.special.path) @@ -134,7 +134,7 @@ location: (window_location) @type) (launch_next_to - pattern: (string) @string.regex) + pattern: (string) @string.regexp) ; (launch_remote_password @@ -159,7 +159,7 @@ (marker_entry id: (marker_id) @label - pattern: (string) @string.regex) + pattern: (string) @string.regexp) ; (launch_os_window_class @@ -286,10 +286,10 @@ "set_colors" @function.call) (color_match - (string) @string.regex) + (string) @string.regexp) (color_match_tab - (string) @string.regex) + (string) @string.regexp) ; (color_option @@ -310,7 +310,7 @@ (include "globinclude" @keyword - glob: (string) @string.regex) + glob: (string) @string.regexp) (include "geninclude" @keyword @@ -502,9 +502,9 @@ "body" "app" "type" - ] @parameter + ] @variable.parameter ":" @punctuation.delimiter - (string) @string.regex) + (string) @string.regexp) (filter_element "\"" @punctuation.delimiter)