mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-13 10:05:31 +08:00
'main': Write the "remainder" of the sentence in a comment. No functional change.
This commit is contained in:
parent
2c15b0e996
commit
f66887c023
@ -528,7 +528,9 @@ _zsh_highlight_highlighter_main_paint()
|
|||||||
next_word+=':start:'
|
next_word+=':start:'
|
||||||
next_word+=':sudo_opt:'
|
next_word+=':sudo_opt:'
|
||||||
else
|
else
|
||||||
#
|
# Not an option flag; nothing to do. (If the command line is
|
||||||
|
# syntactically valid, ${this_state//:sudo_opt:/} should be
|
||||||
|
# non-empty now.)
|
||||||
fi
|
fi
|
||||||
elif [[ $this_word == *':sudo_arg:'* ]]; then
|
elif [[ $this_word == *':sudo_arg:'* ]]; then
|
||||||
next_word+=':sudo_opt:'
|
next_word+=':sudo_opt:'
|
||||||
|
Loading…
Reference in New Issue
Block a user