mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 08:20:18 +00:00
@@ -984,6 +984,11 @@ _zsh_highlight_main_highlighter_highlight_argument()
|
||||
local MATCH; integer MBEGIN MEND
|
||||
|
||||
case "$arg[i]" in
|
||||
'%')
|
||||
if [[ $arg[i+1] == '?' ]]; then
|
||||
(( i += 2 ))
|
||||
fi
|
||||
;;
|
||||
'-')
|
||||
if (( option_eligible )); then
|
||||
if [[ $arg[i+1] == - ]]; then
|
||||
|
||||
Reference in New Issue
Block a user