mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
command word: Avoid unknown-token highlighting whilst inputting the command word.
Adds the 'command-being-input' highlight. Builds on top of the 'command-word-separator-v1' branch from PR #243.
This commit is contained in:
parent
09c4114eb9
commit
e13c86dfc2
3 changed files with 7 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ This highlighter defines the following styles:
|
|||
* `precommand` - precommand modifiers (e.g., `noglob`, `builtin`)
|
||||
* `commandseparator` - command separation tokens (`;`, `&&`)
|
||||
* `hashed-command` - hashed commands
|
||||
* `command-being-typed` - prefix of a command/function/alias that isn't one itself (e.g., `sourc`, `ifconfi`)
|
||||
* `path` - existing filenames
|
||||
* `path_prefix` - prefixes of existing filenames
|
||||
* `globbing` - globbing expressions (`*.txt`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue