mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 11:41:49 -05:00
zsh-syntax-highlighting plugin changed its API
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1361889
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user