Open
Description
Environment
OSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.9
Expected behavior
For example, git subcommands should be highlighted.
Current behavior
No command-specific highlighting. Chroma files/functions not found:
$ chroma/-git.ch
zsh: chroma/-git.ch: function definition file not found
Steps to reproduce
Install F-Sy-H without package manager. For example, as a git submodule: https://github.com/amezin/zdotdir
Type "git checkout" in prompt, "checkout" isn't highlighted
Code snippet
source "${ZDOTDIR}/fast-syntax-highlighting/F-Sy-H.plugin.zsh"
# Adding the following line makes git-specific highlighting work
fpath+=("${ZDOTDIR}/fast-syntax-highlighting")
Aditional information
chroma
should likely be inside functions
Self-service
- I'd be willing to address this documentation request myself.
Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines.
Are you familiar with Contributor Covenant Code of Conduct?
- I have read the Contributor Covenant Code of Conduct.
Contact Details
No response