zsh-users / zsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.
github.com/zsh-users/zsh-syntax-highlighting
BSD 3-Clause "New" or "Revised" License
19.9k stars 1.32k forks source link

Ask zsh upstream to have a ${(Z)} subflag that doesn't map newlines to semicolons #693

Open danielshahaf opened 4 years ago

danielshahaf commented 4 years ago

See https://github.com/zsh-users/zsh-syntax-highlighting/issues/677#issuecomment-599225740, second bullet.

danielshahaf commented 4 years ago

On the zsh side, the relevant code may be found by grepping for LEXFLAGS_NEWLINE (that's the bitfield flag corresponding to ${(zZ+n+)}).