mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 03:41:47 -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
|
||||
# https://github.com/nicoulaj/zsh-syntax-highlighting
|
||||
if [[ $+functions[_zsh_highlight-zle-buffer] -eq 1 ]]; then
|
||||
_zsh_highlight-zle-buffer
|
||||
if [[ $+functions[_zsh_highlight] -eq 1 ]]; then
|
||||
_zsh_highlight
|
||||
fi
|
||||
|
||||
if [[ -n $history_substring_search_query ]]; then
|
||||
|
||||
Reference in New Issue
Block a user