Skip to content

Commit

Permalink
driver: Remove now unneeded localoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
phy1729 committed Aug 11, 2020
1 parent e6f8c6e commit 8ddba90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions driver.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ else
# Rebind all ZLE widgets to make them invoke _zsh_highlights.
_zsh_highlight_bind_widgets()
{
setopt localoptions noksharrays
typeset -F SECONDS
local prefix=orig-s$SECONDS-r$RANDOM # unique each time, in case we're sourced more than once

Expand Down Expand Up @@ -276,8 +275,6 @@ fi
# 1) Path to the highlighters directory.
_zsh_highlight_load_highlighters()
{
setopt localoptions noksharrays bareglobqual

# Check the directory exists.
[[ -d "$1" ]] || {
print -r -- >&2 "zsh-syntax-highlighting: highlighters directory ${(qq)1} not found."
Expand Down

0 comments on commit 8ddba90

Please sign in to comment.