aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_backspace_opt.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-26 15:31:29 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-29 15:51:04 +0800
commitd531ef6813919dd6df8ca6927cd99ec3c0a65635 (patch)
tree96d62d121e5744fd7504ff007e6ea025561e83f7 /src/nvim/testdir/test_backspace_opt.vim
parentabe91e1efec84c47c03a69ab8a998bb16f628084 (diff)
downloadrneovim-d531ef6813919dd6df8ca6927cd99ec3c0a65635.tar.gz
rneovim-d531ef6813919dd6df8ca6927cd99ec3c0a65635.tar.bz2
rneovim-d531ef6813919dd6df8ca6927cd99ec3c0a65635.zip
vim-patch:8.2.0867: using \{xxx} for encoding a modifier is not nice
Problem: Using \{xxx} for encoding a modifier is not nice. Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a different code. https://github.com/vim/vim/commit/fccd93f0917234b962ce07d1df3adf9d7105936f Use this notation in langmap_spec.
Diffstat (limited to 'src/nvim/testdir/test_backspace_opt.vim')
-rw-r--r--src/nvim/testdir/test_backspace_opt.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_backspace_opt.vim b/src/nvim/testdir/test_backspace_opt.vim
index 64342fbdf8..59e94d2898 100644
--- a/src/nvim/testdir/test_backspace_opt.vim
+++ b/src/nvim/testdir/test_backspace_opt.vim
@@ -76,7 +76,7 @@ func Test_backspace_ctrl_u()
set cpo-=<
inoremap <c-u> <left><c-u>
- exe "normal Avim3\{C-U}\<Esc>\<CR>"
+ exe "normal Avim3\<*C-U>\<Esc>\<CR>"
iunmap <c-u>
exe "normal Avim4\<C-U>\<C-U>\<Esc>\<CR>"
@@ -86,7 +86,7 @@ func Test_backspace_ctrl_u()
exe "normal A vim6\<Esc>Azwei\<C-G>u\<C-U>\<Esc>\<CR>"
inoremap <c-u> <left><c-u>
- exe "normal A vim7\{C-U}\{C-U}\<Esc>\<CR>"
+ exe "normal A vim7\<*C-U>\<*C-U>\<Esc>\<CR>"
call assert_equal([
\ "1 this shouldn't be deleted",