add emulate -L zsh to _zsh_highlight_main_highlighter. resolves issue #83
This commit is contained in:
parent
d2715e2cb3
commit
d82eee5212
@ -61,6 +61,7 @@ _zsh_highlight_main_highlighter_predicate()
|
|||||||
# Main syntax highlighting function.
|
# Main syntax highlighting function.
|
||||||
_zsh_highlight_main_highlighter()
|
_zsh_highlight_main_highlighter()
|
||||||
{
|
{
|
||||||
|
emulate -L zsh
|
||||||
setopt localoptions extendedglob bareglobqual
|
setopt localoptions extendedglob bareglobqual
|
||||||
local start_pos=0 end_pos highlight_glob=true new_expression=true arg style
|
local start_pos=0 end_pos highlight_glob=true new_expression=true arg style
|
||||||
typeset -a ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR
|
typeset -a ZSH_HIGHLIGHT_TOKENS_COMMANDSEPARATOR
|
||||||
|
Loading…
Reference in New Issue
Block a user