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 /src/nvim/fold.c | |
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 'src/nvim/fold.c')
-rw-r--r-- | src/nvim/fold.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c index 6c135ef47b..70ab4ced75 100644 --- a/src/nvim/fold.c +++ b/src/nvim/fold.c @@ -762,6 +762,10 @@ void clearFolding(win_T *win) */ void foldUpdate(win_T *wp, linenr_T top, linenr_T bot) { + if (compl_busy) { + return; + } + fold_T *fp; if (wp->w_buffer->terminal) { return; |