diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-01-25 07:37:28 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-01-25 08:21:20 +0800 |
| commit | 3d9ff675f8135be6ef17df4da07781cd05dbcd55 (patch) | |
| tree | 7cb6761d4da9f316eb0839a34688cbf01d871993 /src/nvim/testdir/check.vim | |
| parent | 1b6ae2dbb0aa24748d44752407cd18b5abec1d0a (diff) | |
| download | rneovim-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.vim | 6 |
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 |