Skip to content

Commit

Permalink
Prevent syntax highlight from wrapping autosuggest
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonrichert committed Oct 28, 2021
1 parent 7e53055 commit 443544f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/.autocomplete.widget
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/zsh
typeset -g ZSH_AUTOSUGGEST_MANUAL_REBIND=1
zmodload zsh/complist
typeset -g ZSH_AUTOSUGGEST_MANUAL_REBIND=1
typeset -g ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX=.autosuggest-orig-

.autocomplete.widget.precmd() {
emulate -L zsh
Expand Down

0 comments on commit 443544f

Please sign in to comment.