aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/check.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-25 07:37:28 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-25 08:21:20 +0800
commit3d9ff675f8135be6ef17df4da07781cd05dbcd55 (patch)
tree7cb6761d4da9f316eb0839a34688cbf01d871993 /src/nvim/testdir/check.vim
parent1b6ae2dbb0aa24748d44752407cd18b5abec1d0a (diff)
downloadrneovim-3d9ff675f8135be6ef17df4da07781cd05dbcd55.tar.gz
rneovim-3d9ff675f8135be6ef17df4da07781cd05dbcd55.tar.bz2
rneovim-3d9ff675f8135be6ef17df4da07781cd05dbcd55.zip
vim-patch:8.2.4203: entering a character with CTRL-V may include modifiers
Problem: Entering a character with CTRL-V may include modifiers. Solution: Reset "mod_mask" when entering a character with digits after CTRL-V. (closes vim/vim#9610) https://github.com/vim/vim/commit/502d8ae3e8ed8b6f8dd2ff175f154f9aa87228ef Commenting out test_override() as before. Commenting out part of CheckNotFeature() because Vim patch 8.2.0427 cannot be ported without breaking a lot of oldtests that check for removed features.
Diffstat (limited to 'src/nvim/testdir/check.vim')
-rw-r--r--src/nvim/testdir/check.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/check.vim b/src/nvim/testdir/check.vim
index 14bab33a2f..ab26dddbe0 100644
--- a/src/nvim/testdir/check.vim
+++ b/src/nvim/testdir/check.vim
@@ -12,9 +12,9 @@ endfunc
" Command to check for the absence of a feature.
command -nargs=1 CheckNotFeature call CheckNotFeature(<f-args>)
func CheckNotFeature(name)
- if !has(a:name, 1)
- throw 'Checking for non-existent feature ' .. a:name
- endif
+ " if !has(a:name, 1)
+ " throw 'Checking for non-existent feature ' .. a:name
+ " endif
if has(a:name)
throw 'Skipped: ' .. a:name .. ' feature present'
endif