Closed musjj closed 1 year ago
Looks like this feature requires a redraw hook: https://github.com/zsh-users/zsh-syntax-highlighting/issues/654 Can we port this feature to this plugin?
Never mind, looks like this is caused by the fact that jeffreytse/zsh-vi-mode is lazy-loaded. This adds some surprises to the load order of my plugins, which is the source of issues like this.
The solution is to turn off lazy-loading by doing:
ZVM_INIT_MODE=sourcing
Describe the bug
When normally typing things like valid paths or arguments, they will be highlighted. But when using the auto completion system, the highlighting is gone.
Steps to reproduce
zsh-users/zsh-completions
Expected behavior
Paths and arguments should still be highlighted as you complete it.
Screenshots and recordings
No response
Operating System & Version
linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown
Zsh version
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator
xterm-256color
If using WSL on Windows, which version of WSL
None
Additional context
No response