Detect apt subcommands after runnable apt invocations and mark known subcommands as commands while styling unknown ones as unknown tokens. Load apt subcommands lazily from apt help with a built-in fallback list so highlighting works across apt versions. Add tests for valid and invalid apt subcommand handling.feat(main): highlight invalid apt subcommands distinctly Detect apt subcommands after runnable apt invocations and mark known subcommands as commands while styling unknown ones as unknown tokens. Load apt subcommands lazily from apt help with a built-in fallback list so highlighting works across apt versions. Add tests for valid and invalid apt subcommand handling. |
||
|---|---|---|
| .. | ||
| brackets | ||
| cursor | ||
| line | ||
| main | ||
| pattern | ||
| regexp | ||
| root | ||
| README.md | ||
README.md
zsh-syntax-highlighting / highlighters
Navigate into the individual highlighters' documentation to see
what styles ($ZSH_HIGHLIGHT_STYLES keys) each highlighter defines.
Refer to the documentation on highlighters for further information.