zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Open

#296 opened on Apr 22, 2016

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Shell (22,617 stars) (1,371 forks)batch import
Improvementgood first issue

Description

% if :; then fi
% if :; then fi foobar
zsh: parse error near `foobar'
% for arg; do done    
% for arg; do done fobar
zsh: parse error near `fobar'

The foobar should be highlighted as an error ([unknown-token]).

Contributor guide