From 7afc17dec17bcc40c646b796f05d373e46916dd7 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 23 Aug 2022 13:03:00 +0800 Subject: vim-patch:8.2.4741: startup test fails Problem: Startup test fails. Solution: Avoid an error for verbose expansion. Fix that the "0verbose" command modifier doesn't work. https://github.com/vim/vim/commit/60895f3e36def9beb7d5463e792e5154ad9a7a0a Most code changes has already been ported. --- src/nvim/ex_docmd.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/nvim/ex_docmd.c') diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index ac2a65844f..7ed28e823e 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6617,18 +6617,19 @@ ssize_t find_cmdline_var(const char_u *src, size_t *usedlen) /// Evaluate cmdline variables. /// -/// change '%' to curbuf->b_ffname -/// '#' to curwin->w_alt_fnum -/// '' to word under the cursor -/// '' to WORD under the cursor -/// '' to C-expression under the cursor -/// '' to path name under the cursor -/// '' to sourced file name -/// '' to call stack -/// '' to sourced file line number -/// '' to file name for autocommand -/// '' to buffer number for autocommand -/// '' to matching name for autocommand +/// change "%" to curbuf->b_ffname +/// "#" to curwin->w_alt_fnum +/// "" to word under the cursor +/// "" to WORD under the cursor +/// "" to C-expression under the cursor +/// "" to path name under the cursor +/// "" to sourced file name +/// "" to call stack +/// "