mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-11 22:02:31 +01:00
'main': Don't dequote the word in command position before analyzing it.
Fixes #656.
Fixes #660.
Regression from commit e1ecf950e2,
"main: Do path expanstion after alias expansion" (sic).
This commit is contained in:
parent
ae5ad09cf5
commit
5aca7704a2
5 changed files with 149 additions and 2 deletions
|
|
@ -580,8 +580,7 @@ _zsh_highlight_main_highlighter_highlight_list()
|
|||
continue
|
||||
else
|
||||
_zsh_highlight_main_highlighter_expand_path $arg
|
||||
arg=$REPLY
|
||||
_zsh_highlight_main__type "$arg" 0
|
||||
_zsh_highlight_main__type "$REPLY" 0
|
||||
res="$REPLY"
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue