diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-03-09 10:15:01 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-03-09 10:15:01 -0500 |
commit | de33c9f00544485ebe34c0af94693a4c97053392 (patch) | |
tree | 5323b717ad1f3ee7865f974514444e4ce74dab36 /test/functional/viml/completion_spec.lua | |
parent | a40a4e2431ccae5f2855df1ffdbf1c94de681886 (diff) | |
parent | 0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 (diff) | |
download | rneovim-de33c9f00544485ebe34c0af94693a4c97053392.tar.gz rneovim-de33c9f00544485ebe34c0af94693a4c97053392.tar.bz2 rneovim-de33c9f00544485ebe34c0af94693a4c97053392.zip |
Merge pull request #4409 from nhooyr/master
complete: disable folding when completing
Diffstat (limited to 'test/functional/viml/completion_spec.lua')
-rw-r--r-- | test/functional/viml/completion_spec.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/viml/completion_spec.lua b/test/functional/viml/completion_spec.lua index 4bb9707cda..45dbbdb7c7 100644 --- a/test/functional/viml/completion_spec.lua +++ b/test/functional/viml/completion_spec.lua @@ -141,4 +141,10 @@ describe('completion', function() June]]) end) end) + + it('disables folding during completion', function () + execute("set foldmethod=indent") + feed('i<Tab>foo<CR><Tab>bar<Esc>ggA<C-x><C-l>') + eq(-1, eval('foldclosed(1)')) + end) end) |