aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-07 13:46:08 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-07 13:47:40 +0800
commit3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f (patch)
treedb42176671ded147afaaeff3075c6bd0ff7d8530
parent0fdf59ac9d30d8874ba6eba22a8bdfb41c1603b7 (diff)
downloadrneovim-3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f.tar.gz
rneovim-3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f.tar.bz2
rneovim-3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f.zip
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
-rw-r--r--src/nvim/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h
index a41836353a..317423ffa0 100644
--- 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'"));