mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Fix highlight cache invalidation
To work better with recent version of zsh-syntax-highlighting.
This commit is contained in:
parent
34c01f6259
commit
4b6512d1e8
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ autosuggest-accept-suggestion() {
|
|||
|
||||
autosuggest-invalidate-highlight-cache() {
|
||||
# invalidate the buffer for zsh-syntax-highlighting
|
||||
_ZSH_HIGHLIGHT_PRIOR_BUFFER=''
|
||||
_zsh_highlight_autosuggest_highlighter_cache=()
|
||||
}
|
||||
|
||||
zle -N autosuggest-toggle
|
||||
|
|
Loading…
Reference in a new issue