Moved to: https://github.com/nicoulaj/zsh-syntax-highlighting
Created
September 19, 2010 11:43
-
-
Save nicoulaj/586698 to your computer and use it in GitHub Desktop.
Author
This works fine for me... Maybe you have special keymapping config (zkbd ?). This is what the "backward-delete-char" is for.
Aha! That made me think, and it turns out that I'm using vi-backward-delete-char. Adding the hook to it in the same way as lines 44 and 47 works beautifully :-)
Author
Yep, I merged your changes.
Author
I've moved this to a project:
Moved to: https://github.com/zsh-users/zsh-syntax-highlighting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks good, but fails under the following conditions in zsh 4.3.10:
lswith various options:l,lrandlrtlrttand it highlights as I would expect, the whole way along (includinglrttas an error, as it does not exist)tstill has the buffer highlighted as an error