From 0b468fd0cf2801c5fbca0bc17b51d6e9e5499db1 Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Fri, 4 Mar 2016 15:06:48 -0500 Subject: complete: disable folding when completing Fixes vim/vim#643 --- test/functional/viml/completion_spec.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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('ifoobarggA') + eq(-1, eval('foldclosed(1)')) + end) end) -- cgit