'main': Highlight hyphen options as files when so-named files are present.
E.g., «echo -foo» when «./-foo» exists.
This commit is contained in:
parent
f16e858f0c
commit
8dddf5ae6b
|
|
@ -801,7 +801,7 @@ _zsh_highlight_main_highlighter_highlight_argument()
|
||||||
else
|
else
|
||||||
base_style=single-hyphen-option
|
base_style=single-hyphen-option
|
||||||
fi
|
fi
|
||||||
path_eligible=0
|
#path_eligible=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for (( i = 1 ; i <= end_pos - start_pos ; i += 1 )); do
|
for (( i = 1 ; i <= end_pos - start_pos ; i += 1 )); do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue