zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Aperta

#296 aperta il 22 apr 2016

 (1 commento) (0 reazioni) (0 assegnatari)Shell (1371 fork)batch import
Improvementgood first issue

Metriche repository

Star
 (22.617 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

% 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]).

Guida contributor