neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f
parent 0fdf59ac9d30d8874ba6eba22a8bdfb41c1603b7
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sun,  7 Aug 2022 13:46:08 +0800

vim-patch:8.2.1278: Vim9: line break after "->" only allowed in :def function

Problem:    Vim9: line break after "->" only allowed in :def function.
Solution:   Only allow line break after "->". (closes vim/vim#6492)
https://github.com/vim/vim/commit/dd1a9af00f6954b176c5875af0a91acde72572c8

Diffstat:
Msrc/nvim/globals.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/globals.h b/src/nvim/globals.h @@ -973,7 +973,7 @@ EXTERN char e_longname[] INIT(= N_("E75: Name too long")); EXTERN char e_toomsbra[] INIT(= N_("E76: Too many [")); EXTERN char e_toomany[] INIT(= N_("E77: Too many file names")); EXTERN char e_trailing[] INIT(= N_("E488: Trailing characters")); -EXTERN char e_trailing2[] INIT(= N_("E488: Trailing characters: %s")); +EXTERN char e_trailing_arg[] INIT(= N_("E488: Trailing characters: %s")); EXTERN char e_umark[] INIT(= N_("E78: Unknown mark")); EXTERN char e_wildexpand[] INIT(= N_("E79: Cannot expand wildcards")); EXTERN char e_winheight[] INIT(= N_("E591: 'winheight' cannot be smaller than 'winminheight'"));