mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-06 09:55:31 +08:00
'main': Add TODO.
This commit is contained in:
parent
c27470a08d
commit
5fd2ae8981
@ -641,6 +641,9 @@ _zsh_highlight_main_highlighter_highlight_list()
|
|||||||
else
|
else
|
||||||
_zsh_highlight_main_highlighter_expand_path $arg
|
_zsh_highlight_main_highlighter_expand_path $arg
|
||||||
if [[ $arg != $REPLY ]]; then
|
if [[ $arg != $REPLY ]]; then
|
||||||
|
# TODO: Is this right? Shouldn't we simply check whether it's
|
||||||
|
# executable? It's not just aliases and reserved words that aren't
|
||||||
|
# considered here; builtins should likewise be excluded.
|
||||||
_zsh_highlight_main__type "$REPLY" 0 0
|
_zsh_highlight_main__type "$REPLY" 0 0
|
||||||
res="$REPLY"
|
res="$REPLY"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user