diff options
| author | ckelsel <ckelsel@hotmail.com> | 2017-09-27 19:34:19 +0800 |
|---|---|---|
| committer | ckelsel <ckelsel@hotmail.com> | 2017-09-27 19:34:19 +0800 |
| commit | c3de878ab1c3d1001660c3b3d6ce39fbc4fcd03c (patch) | |
| tree | cf606878176f67bb5dcbf480d47d7ea9e0f4d1bf /src/nvim/testdir/test_options.vim | |
| parent | 90fc9039ddcadc61d4236bdd2d638d690081e04d (diff) | |
| parent | 542ed5f5d31647bfec6d3119f4e2993544530c35 (diff) | |
| download | rneovim-c3de878ab1c3d1001660c3b3d6ce39fbc4fcd03c.tar.gz rneovim-c3de878ab1c3d1001660c3b3d6ce39fbc4fcd03c.tar.bz2 rneovim-c3de878ab1c3d1001660c3b3d6ce39fbc4fcd03c.zip | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
| -rw-r--r-- | src/nvim/testdir/test_options.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index 2ffe63787b..8a9d793a2e 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -103,3 +103,13 @@ func Test_keymap_valid() call assert_fails(":set kmp=trunc\x00name", "E544:") call assert_fails(":set kmp=trunc\x00name", "trunc") endfunc + +func Test_complete() + " Trailing single backslash used to cause invalid memory access. + set complete=s\ + new + call feedkeys("i\<C-N>\<Esc>", 'xt') + bwipe! + set complete& +endfun + |