0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.538

Problem:    Tests fail with small features plus Python.
Solution:   Disallow weird combination of options.  Do not set "fdm" when
            folding is disabled.
This commit is contained in:
Bram Moolenaar
2014-11-30 13:34:23 +01:00
parent 76440e2efe
commit 0b10541606
6 changed files with 29 additions and 7 deletions

View File

@@ -6200,9 +6200,11 @@ prepare_help_buffer()
(void)buf_init_chartab(curbuf, FALSE);
}
#ifdef FEAT_FOLDING
/* Don't use the global foldmethod.*/
set_string_option_direct((char_u *)"fdm", -1, (char_u *)"manual",
OPT_FREE|OPT_LOCAL, 0);
#endif
curbuf->b_p_ts = 8; /* 'tabstop' is 8 */
curwin->w_p_list = FALSE; /* no list mode */