zsh-syntax-highlighting-filetypes
zsh-syntax-highlighting-filetypes copied to clipboard
fix an error: some keys with now impact on text displayed a permission denied
Hello,
This PR add a new guard before triggering the $highlight_predicate:
When pressing esc (to go out of vim insert mode), the function was
trigger with an empty string leading to an annoying permission denied.
I have just added a check that $highlight_predicate is not empty.
Charles