mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1732
Problem: Folds may close when using autocomplete. (Anmol Sethi) Solution: Increment/decrement disable_fold. (Christian Brabandt, closes #643)
This commit is contained in:
@@ -1424,8 +1424,10 @@ doESCkey:
|
||||
|
||||
docomplete:
|
||||
compl_busy = TRUE;
|
||||
disable_fold_update++; /* don't redraw folds here */
|
||||
if (ins_complete(c, TRUE) == FAIL)
|
||||
compl_cont_status = 0;
|
||||
disable_fold_update--;
|
||||
compl_busy = FALSE;
|
||||
break;
|
||||
#endif /* FEAT_INS_EXPAND */
|
||||
|
Reference in New Issue
Block a user