zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Open

#296 ouverte le 22 avr. 2016

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Shell (1 371 forks)batch import
Improvementgood first issue

Métriques du dépôt

Stars
 (22 617 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur