From 65359e565714a2f1b75aa5cee88d8ee0874f75f6 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 9 Jul 2022 17:19:09 +0800 Subject: vim-patch:8.2.0396: cmdexpand.c insufficiently tested Problem: Cmdexpand.c insufficiently tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5789) https://github.com/vim/vim/commit/24ebd83e030e1c6f9a6be1f06232756ba4d00a8c Map Q to gQ before every test since a test uses :mapclear. --- src/nvim/testdir/setup.vim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/nvim/testdir/setup.vim') diff --git a/src/nvim/testdir/setup.vim b/src/nvim/testdir/setup.vim index 91e0b3bea7..ff1ad30b12 100644 --- a/src/nvim/testdir/setup.vim +++ b/src/nvim/testdir/setup.vim @@ -31,10 +31,6 @@ set switchbuf= mapclear mapclear! -" Make "Q" switch to Ex mode. -" This does not work for all tests. -nnoremap Q gQ - " Prevent Nvim log from writing to stderr. let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log' -- cgit