aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_digraph.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-02 08:06:57 +0800
committerGitHub <noreply@github.com>2024-12-02 00:06:57 +0000
commitfb689d7ebd680c4921f4ec617fe5e01cd09ba96c (patch)
tree1bfe504a22dd3d8773b1a552c12b5dec91066657 /test/old/testdir/test_digraph.vim
parentfeb62d5429680278c1353c565db6bb3ecb3b7c24 (diff)
downloadrneovim-fb689d7ebd680c4921f4ec617fe5e01cd09ba96c.tar.gz
rneovim-fb689d7ebd680c4921f4ec617fe5e01cd09ba96c.tar.bz2
rneovim-fb689d7ebd680c4921f4ec617fe5e01cd09ba96c.zip
vim-patch:9.1.0899: default for 'backspace' can be set in C code (#31416)
Problem: default for 'backspace' can be set in C code Solution: promote the default for 'backspace' from defaults.vim to the C code (Luca Saccarola) closes: vim/vim#16143 https://github.com/vim/vim/commit/959ef61430bdd8fb982b38bd3347d90251255cfc N/A patches: vim-patch:9.1.0895: default history value is too small vim-patch:075aeea: runtime(doc): document changed default value for 'history' Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
Diffstat (limited to 'test/old/testdir/test_digraph.vim')
-rw-r--r--test/old/testdir/test_digraph.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/old/testdir/test_digraph.vim b/test/old/testdir/test_digraph.vim
index 8fbcd4d8ca..ce5e1b2055 100644
--- a/test/old/testdir/test_digraph.vim
+++ b/test/old/testdir/test_digraph.vim
@@ -250,9 +250,12 @@ func Test_digraphs_option()
call Put_Dig_BS("P","=")
call assert_equal(['Р']+repeat(["₽"],2)+['П'], getline(line('.')-3,line('.')))
" Not a digraph: this is different from <c-k>!
+ let _bs = &bs
+ set bs=
call Put_Dig_BS("a","\<bs>")
call Put_Dig_BS("\<bs>","a")
call assert_equal(['','a'], getline(line('.')-1,line('.')))
+ let &bs = _bs
" Grave
call Put_Dig_BS("a","!")
call Put_Dig_BS("!","e")