Files
neovim/scripts
zeertzjqandzuloloxi 1332ed9027 vim-patch:9.2.1288: E110 "missing ')'" error does not say where the problem is (#42698)
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>
2026-11-05 08:51:27 +08:00
..
2025-11-18 12:35:22 -08:00