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 (1,371 forks)batch import
Improvementgood first issueresolution:if-and-when-neededsyntax:command-word

Repository metrics

Stars
 (22,617 stars)
PR merge metrics
 (No merged PRs in 30d)

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