diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-14 16:22:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-14 16:22:04 +0200 |
commit | 429fcfbf9a9275367fe9441a50a3dcd773497d84 (patch) | |
tree | 60edefaa455e444f1dbc6f0e38cb7b0d80dd965e /src/globals.h | |
parent | 8110a091bc749d8748a20807a724a3af3ca6d509 (diff) |
patch 7.4.1732v7.4.1732
Problem: Folds may close when using autocomplete. (Anmol Sethi)
Solution: Increment/decrement disable_fold. (Christian Brabandt, closes
#643)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 3278ad9775..5effdb5630 100644 --- 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); |