diff options
author | Anmol Sethi <anmol@aubble.com> | 2016-03-04 15:06:48 -0500 |
---|---|---|
committer | Anmol Sethi <anmol@aubble.com> | 2016-03-09 10:04:15 -0500 |
commit | 0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 (patch) | |
tree | 58d75a91fdaaab43e989c41614eb32ed4944313d /test | |
parent | 890ce792af102abe37f24f9674b5924b79fbfa27 (diff) | |
download | rneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.tar.gz rneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.tar.bz2 rneovim-0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1.zip |
complete: disable folding when completing
Fixes vim/vim#643
Diffstat (limited to 'test')
-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) |