WIP: Fix command-parameter

This commit is contained in:
Daniel Shahaf 2020-01-16 19:26:11 +00:00
parent c2b40ed06e
commit 5eccd8a50e

View File

@ -488,6 +488,7 @@ _zsh_highlight_main_highlighter_highlight_list()
if (( in_param == 0 )); then if (( in_param == 0 )); then
# start_pos and end_pos are of the alias (previous $arg) here # start_pos and end_pos are of the alias (previous $arg) here
_zsh_highlight_main_add_region_highlight $start_pos $end_pos ${param_style:-unknown_token} _zsh_highlight_main_add_region_highlight $start_pos $end_pos ${param_style:-unknown_token}
param_style=""
fi fi
fi fi