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 10, 2020
1 parent cfbba9d commit 6449f17
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 @@ -309,7 +309,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 @@ -380,8 +379,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 6449f17

Please sign in to comment.