mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
parent
3259fe338d
commit
1e34c4aa0b
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue