Skip to content

Commit

Permalink
'main': Add TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielshahaf committed Mar 17, 2020
1 parent 22c4705 commit 37d4ed0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions highlighters/main/main-highlighter.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,9 @@ _zsh_highlight_main_highlighter_highlight_list()
else
_zsh_highlight_main_highlighter_expand_path $arg
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
res="$REPLY"
fi
Expand Down

0 comments on commit 37d4ed0

Please sign in to comment.