zsh-users/zsh-syntax-highlighting

Highlight semicolon that doesn't terminate a sublist

Open

#569 opened on Oct 24, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Shell (22,617 stars) (1,371 forks)batch import
Improvementgood first issueresolution:if-and-when-neededsyntax:command-word

Description

false && ; foo does not execute foo because ; is equivalent to \n. Highlight it accordingly, differently to a ; that terminates a sublist.

See also workers/43726.

Contributor guide