mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
WIP: Fix command-parameter
This commit is contained in:
parent
c2b40ed06e
commit
5eccd8a50e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue