diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-06-25 02:37:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-25 02:37:50 +0200 |
| commit | 615fc6826359b4171fbb40ea34ba7ddf29bea045 (patch) | |
| tree | 2da5172c89f512da4fe0c625aff1fe74c62ef248 /src/nvim/testdir/test_ins_complete.vim | |
| parent | 79450f2da97e352676516d63521c18fbac46186b (diff) | |
| parent | ed2d651b504012d89f00ea89814cfcb15a0faf3f (diff) | |
| download | rneovim-615fc6826359b4171fbb40ea34ba7ddf29bea045.tar.gz rneovim-615fc6826359b4171fbb40ea34ba7ddf29bea045.tar.bz2 rneovim-615fc6826359b4171fbb40ea34ba7ddf29bea045.zip | |
Merge #10323 from janlazo/vim-8.1.1055
vim-patch:8.0.{1479,1480,1482},8.1.1055
Diffstat (limited to 'src/nvim/testdir/test_ins_complete.vim')
| -rw-r--r-- | src/nvim/testdir/test_ins_complete.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_ins_complete.vim b/src/nvim/testdir/test_ins_complete.vim index d3429617d0..071e82579e 100644 --- a/src/nvim/testdir/test_ins_complete.vim +++ b/src/nvim/testdir/test_ins_complete.vim @@ -249,3 +249,14 @@ func Test_omni_dash() delfunc Omni set omnifunc= endfunc + +" Check that when using feedkeys() typeahead does not interrupt searching for +" completions. +func Test_compl_feedkeys() + new + set completeopt=menuone,noselect + call feedkeys("ajump ju\<C-X>\<C-N>\<C-P>\<ESC>", "tx") + call assert_equal("jump jump", getline(1)) + bwipe! + set completeopt& +endfunc |