This commit is contained in:
Dimitris Apostolou 2020-04-08 21:04:48 +03:00 committed by GitHub
parent ccb1da4ae8
commit 415e762ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -634,7 +634,7 @@ _zsh_highlight_main_highlighter_highlight_list()
# The zsh lexer considers ';' and newline to be the same token, so # The zsh lexer considers ';' and newline to be the same token, so
# ${(z)} converts all newlines to semicolons. Convert them back here to # ${(z)} converts all newlines to semicolons. Convert them back here to
# make later processing simplier. # make later processing simpler.
[[ $arg == ';' && ${match[3]} == $'\n' ]] && arg=$'\n' [[ $arg == ';' && ${match[3]} == $'\n' ]] && arg=$'\n'
# Compute the new $proc_buf. We advance it # Compute the new $proc_buf. We advance it