zsh-users/zsh-syntax-highlighting

Highlight trailing garbage as error

Open

#296 opened on 2016年4月22日

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

説明

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

コントリビューターガイド

Highlight trailing garbage as error · zsh-users/zsh-syntax-highlighting#296 | Good First Issue