Skip to content

Commit 5fd2ae8

Browse files
committed
'main': Add TODO.
1 parent c27470a commit 5fd2ae8

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
@@ -641,6 +641,9 @@ _zsh_highlight_main_highlighter_highlight_list()
641641
else
642642
_zsh_highlight_main_highlighter_expand_path $arg
643643
if [[ $arg != $REPLY ]]; then
644+
# TODO: Is this right? Shouldn't we simply check whether it's
645+
# executable? It's not just aliases and reserved words that aren't
646+
# considered here; builtins should likewise be excluded.
644647
_zsh_highlight_main__type "$REPLY" 0 0
645648
res="$REPLY"
646649
fi

0 commit comments

Comments
 (0)