mirror of
https://github.com/neovim/neovim.git
synced 2026-11-06 05:16:52 +00:00
Problem: An invalid nested expression such as "echo (0!)" gives
"E110: Missing ')'" although the ")" is there, and does not say
where the expression is not valid.
Solution: When text follows the expression, add it to the E110 message, as
E697 does for a List (zuloloxi).
Without parentheses "echo 0!" already gives E15 with the text "!". When
nothing follows the expression the ")" is really missing and the message
is as before.
related: vim/vim#17602
closes: vim/vim#21607
https://github.com/vim/vim/commit/d06691450ab0dc2ea72a997f8426002f66da2ac2
Co-authored-by: zuloloxi <10588750+zuloloxi@users.noreply.github.com>