aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-12-17 07:15:42 -0500
committerGitHub <noreply@github.com>2021-12-17 07:15:42 -0500
commit51306f98b8e35d056c3d12c7a9973a0fa92f8172 (patch)
treec4c775780d1d6f6fea8b4b0ee9bf7db6e549964c /src/nvim/testdir
parentb1757e1c29d07c7958c62427e19e85916670049d (diff)
parentf59f81c32e901b5f6990bbe0b5608c073c0b1b9c (diff)
downloadrneovim-51306f98b8e35d056c3d12c7a9973a0fa92f8172.tar.gz
rneovim-51306f98b8e35d056c3d12c7a9973a0fa92f8172.tar.bz2
rneovim-51306f98b8e35d056c3d12c7a9973a0fa92f8172.zip
Merge pull request #16681 from zeertzjq/vim-8.2.3825
vim-patch:8.2.3825: various comments could be improved
Diffstat (limited to 'src/nvim/testdir')
-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