Skip to content

Commit

Permalink
Revert "plugin.zsh: Use emulate instead of bare setopt"
Browse files Browse the repository at this point in the history
This reverts commit 08a4ce9.

See: zdharma-continuum#38
  • Loading branch information
AndydeCleyre authored and Qosmio committed Apr 1, 2024
1 parent 4f89f92 commit 1772663
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fast-syntax-highlighting.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ _zsh_highlight()
return $ret
fi

emulate -LR zsh
setopt extendedglob warncreateglobal typesetsilent noshortloops

setopt localoptions warncreateglobal noksharrays noshwordsplit extendedglob typesetsilent nokshglob
local REPLY # don't leak $REPLY into global scope
local -a reply

Expand Down

0 comments on commit 1772663

Please sign in to comment.