Skip to content

Commit 37d4ed0

Browse files
committed
'main': Add TODO.
1 parent 22c4705 commit 37d4ed0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,9 @@ _zsh_highlight_main_highlighter_highlight_list()
617617
else
618618
_zsh_highlight_main_highlighter_expand_path $arg
619619
if [[ $arg != $REPLY ]]; then
620+
# TODO: Is this right? Shouldn't we simply check whether it's
621+
# executable? It's not just aliases and reserved words that aren't
622+
# considered here; builtins should likewise be excluded.
620623
_zsh_highlight_main__type "$REPLY" 0 0
621624
res="$REPLY"
622625
fi

0 commit comments

Comments
 (0)