aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fold.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-25 11:17:29 +0800
committerGitHub <noreply@github.com>2022-08-25 11:17:29 +0800
commitee02141c7b8a2dd1a87fe4bfc743f39750c99249 (patch)
tree0eb53db012b149e0db32770473187f2bec10ce76 /src/nvim/fold.c
parent674d3b2d5f5f7ade20cbd88ed64d63a80bb7b302 (diff)
parentb1833bb33b49a26e7552548e3541ac1480fee452 (diff)
downloadrneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.gz
rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.tar.bz2
rneovim-ee02141c7b8a2dd1a87fe4bfc743f39750c99249.zip
Merge pull request #19937 from zeertzjq/vim-8.2.3942
vim-patch:8.2.{3942,partial:4001}
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r--src/nvim/fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c
index 66f45e57f3..9cc17acb37 100644
--- a/src/nvim/fold.c
+++ b/src/nvim/fold.c
@@ -757,7 +757,7 @@ void clearFolding(win_T *win)
/// The changes in lines from top to bot (inclusive).
void foldUpdate(win_T *wp, linenr_T top, linenr_T bot)
{
- if (disable_fold_update || compl_busy || State & MODE_INSERT) {
+ if (disable_fold_update || State & MODE_INSERT) {
return;
}