From 7110df63e1172eb9fa98cde61bbd38a4d325f97a Mon Sep 17 00:00:00 2001 From: Eric Mrak Date: Thu, 26 Jun 2025 00:04:48 -0700 Subject: feat(fish): more builtin commands and variables (#7972) builtin commands: * abbr * path builtin variables: * fish_cursor_* --- runtime/queries/fish/highlights.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/runtime/queries/fish/highlights.scm b/runtime/queries/fish/highlights.scm index a7c451175..549bceda0 100644 --- a/runtime/queries/fish/highlights.scm +++ b/runtime/queries/fish/highlights.scm @@ -117,10 +117,10 @@ name: [ (word) @function.builtin (#any-of? @function.builtin - "." ":" "_" "alias" "argparse" "bg" "bind" "block" "breakpoint" "builtin" "cd" "command" - "commandline" "complete" "contains" "count" "disown" "echo" "emit" "eval" "exec" "exit" "fg" - "functions" "history" "isatty" "jobs" "math" "printf" "pwd" "random" "read" "realpath" "set" - "set_color" "source" "status" "string" "test" "time" "type" "ulimit" "wait") + "." ":" "_" "abbr" "alias" "argparse" "bg" "bind" "block" "breakpoint" "builtin" "cd" + "command" "commandline" "complete" "contains" "count" "disown" "echo" "emit" "eval" "exec" + "exit" "fg" "functions" "history" "isatty" "jobs" "math" "path" "printf" "pwd" "random" "read" + "realpath" "set" "set_color" "source" "status" "string" "test" "time" "type" "ulimit" "wait") ]) ; Functions @@ -179,11 +179,12 @@ "fish_term24bit" "fish_term256" "fish_ambiguous_width" "fish_emoji_width" "fish_autosuggestion_enabled" "fish_handle_reflow" "fish_key_bindings" "fish_escape_delay_ms" "fish_sequence_key_delay_ms" "fish_complete_path" "fish_cursor_selection_mode" - "fish_function_path" "fish_greeting" "fish_history" "fish_trace" "FISH_DEBUG" - "FISH_DEBUG_OUTPUT" "fish_user_paths" "umask" "BROWSER" "_" "argv" "CMD_DURATION" "COLUMNS" - "LINES" "fish_kill_signal" "fish_killring" "fish_read_limit" "fish_pid" "history" "HOME" - "hostname" "IFS" "last_pid" "PWD" "pipestatus" "SHLVL" "status" "status_generation" "TERM" - "USER" "EUID" "version" "FISH_VERSION")) + "fish_cursor_default" "fish_cursor_insert" "fish_cursor_replace" "fish_cursor_replace_one" + "fish_cursor_visual" "fish_cursor_external" "fish_function_path" "fish_greeting" "fish_history" + "fish_trace" "FISH_DEBUG" "FISH_DEBUG_OUTPUT" "fish_user_paths" "umask" "BROWSER" "_" "argv" + "CMD_DURATION" "COLUMNS" "LINES" "fish_kill_signal" "fish_killring" "fish_read_limit" "fish_pid" + "history" "HOME" "hostname" "IFS" "last_pid" "PWD" "pipestatus" "SHLVL" "status" + "status_generation" "TERM" "USER" "EUID" "version" "FISH_VERSION")) ; Nodes [ -- cgit v1.2.3-70-g09d2