diff src/globals.h @ 8891:d7ba3f9b9ba6 v7.4.1732

commit https://github.com/vim/vim/commit/429fcfbf9a9275367fe9441a50a3dcd773497d84 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 16:22:04 2016 +0200 patch 7.4.1732 Problem: Folds may close when using autocomplete. (Anmol Sethi) Solution: Increment/decrement disable_fold. (Christian Brabandt, closes https://github.com/vim/vim/issues/643)
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 16:30:05 +0200
parents e1b84109506a
children c83e2c1e7f2b
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -1176,6 +1176,10 @@ EXTERN int	fill_fold INIT(= '-');
 EXTERN int	fill_diff INIT(= '-');
 #endif
 
+#ifdef FEAT_FOLDING
+EXTERN int	disable_fold_update INIT(= 0);
+#endif
+
 /* Whether 'keymodel' contains "stopsel" and "startsel". */
 EXTERN int	km_stopsel INIT(= FALSE);
 EXTERN int	km_startsel INIT(= FALSE);