Files
fish-shell/doc_src
gitmpr 43e3aa4e6b highlight: add fish_color_builtin and fish_color_function
The highlighter already resolves command type (builtin, function,
external) on every keystroke but discarded that information, always
emitting HighlightRole::Command.

This surfaces the type by changing command_is_valid to return a
CommandType enum (Builtin, Function, Other, Invalid) and passing it to
color_command, which selects the matching HighlightRole. Both new roles
fall back to HighlightRole::Command (and thus fish_color_command) when
their variable is unset, so existing configurations are unaffected.

Closes #12775

Closes #12837
2026-06-26 16:23:26 +02:00
..
2026-06-24 09:52:53 -07:00