mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-04-17 11:35:32 +08:00
WIP: Fix command-parameter
This commit is contained in:
parent
c2b40ed06e
commit
5eccd8a50e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user