aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_edit.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-12-16 23:05:52 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-12-16 23:05:52 +0800
commitf59f81c32e901b5f6990bbe0b5608c073c0b1b9c (patch)
treee73f52d79b13649741f59110b0a5416a83fbd366 /src/nvim/testdir/test_edit.vim
parent56fa08b458cbf98fa83c21c3e683f8e7e91a334f (diff)
downloadrneovim-f59f81c32e901b5f6990bbe0b5608c073c0b1b9c.tar.gz
rneovim-f59f81c32e901b5f6990bbe0b5608c073c0b1b9c.tar.bz2
rneovim-f59f81c32e901b5f6990bbe0b5608c073c0b1b9c.zip
vim-patch:8.2.3825: various comments could be improved
Problem: Various comments could be improved. Solution: Improve the comments. https://github.com/vim/vim/commit/52797bae1710621926c03a2611c40a692c96fb44
Diffstat (limited to 'src/nvim/testdir/test_edit.vim')
-rw-r--r--src/nvim/testdir/test_edit.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_edit.vim b/src/nvim/testdir/test_edit.vim
index 37786f3ca0..fc4e80f0d6 100644
--- a/src/nvim/testdir/test_edit.vim
+++ b/src/nvim/testdir/test_edit.vim
@@ -1294,6 +1294,7 @@ func Test_edit_forbidden()
call assert_fails(':Sandbox', 'E48:')
delcom Sandbox
call assert_equal(['a'], getline(1,'$'))
+
" 2) edit with textlock set
fu! DoIt()
call feedkeys("i\<del>\<esc>", 'tnix')
@@ -1313,6 +1314,7 @@ func Test_edit_forbidden()
catch /^Vim\%((\a\+)\)\=:E117/ " catch E117: unknown function
endtry
au! InsertCharPre
+
" 3) edit when completion is shown
fun! Complete(findstart, base)
if a:findstart
@@ -1330,6 +1332,7 @@ func Test_edit_forbidden()
endtry
delfu Complete
set completefunc=
+
if has("rightleft") && exists("+fkmap")
" 4) 'R' when 'fkmap' and 'revins' is set.
set revins fkmap