zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Open

#296 aperta il 22 apr 2016

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

Metriche repository

Star
 (22.617 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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