zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Open

#296 aberto em 22 de abr. de 2016

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Shell (1.371 forks)batch import
Improvementgood first issue

Métricas do repositório

Stars
 (22.617 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador