zsh-syntax-highlighting plugin changed its API

https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1361889
This commit is contained in:
Suraj N. Kurapati 2011-06-13 14:34:05 -07:00
parent 942a22206b
commit 1d7ea438d3

View file

@ -102,8 +102,8 @@ history-substring-search-highlight() {
# highlight $BUFFER using zsh-syntax-highlighting plugin # highlight $BUFFER using zsh-syntax-highlighting plugin
# https://github.com/nicoulaj/zsh-syntax-highlighting # https://github.com/nicoulaj/zsh-syntax-highlighting
if [[ $+functions[_zsh_highlight-zle-buffer] -eq 1 ]]; then if [[ $+functions[_zsh_highlight] -eq 1 ]]; then
_zsh_highlight-zle-buffer _zsh_highlight
fi fi
if [[ -n $history_substring_search_query ]]; then if [[ -n $history_substring_search_query ]]; then