mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Restore 0.6.0's behaviour for unknown options.
See discussion on #664.
This commit is contained in:
parent
5012d771f3
commit
cb166dcc77
3 changed files with 10 additions and 3 deletions
|
|
@ -39,5 +39,5 @@ expected_region_highlight=(
|
|||
'12 12 commandseparator' # ;
|
||||
'14 17 precommand' # sudo
|
||||
'19 20 single-hyphen-option' # -x
|
||||
'22 23 default' # ls
|
||||
'22 23 command' # ls
|
||||
)
|
||||
|
|
|
|||
|
|
@ -33,5 +33,5 @@ BUFFER='sudo --askpass ls'
|
|||
expected_region_highlight=(
|
||||
'1 4 precommand' # sudo
|
||||
'6 14 double-hyphen-option' # --askpass
|
||||
'16 17 default' # ls (we don't know whether --askpass takes an argument)
|
||||
'16 17 command' # ls (we don't know whether --askpass takes an argument)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue