diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/vim.c | 8 | ||||
-rw-r--r-- | src/nvim/window.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index ed6a28bcda..6280038d1a 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1071,10 +1071,10 @@ fail: /// disabled. This is useful when displaing a temporary /// float where the text should not be edited. Disables /// 'number', 'relativenumber', 'cursorline', 'cursorcolumn', -/// 'spell' and 'list' options. 'signcolumn' is changed to -/// `auto`. The end-of-buffer region is hidden by setting -/// `eob` flag of 'fillchars' to a space char, and clearing -/// the |EndOfBuffer| region in 'winhighlight'. +/// 'foldcolumn', 'spell' and 'list' options. 'signcolumn' +/// is changed to `auto`. The end-of-buffer region is hidden +/// by setting `eob` flag of 'fillchars' to a space char, +/// and clearing the |EndOfBuffer| region in 'winhighlight'. /// /// top-level window. Currently accepts no other positioning /// configuration together with this. diff --git a/src/nvim/window.c b/src/nvim/window.c index 22a8969b88..4173245439 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -598,6 +598,7 @@ void win_set_minimal_style(win_T *wp) wp->w_p_cuc = false; wp->w_p_spell = false; wp->w_p_list = false; + wp->w_p_fdc = 0; // Hide EOB region: use " " fillchar and cleared highlighting if (wp->w_p_fcs_chars.eob != ' ') { @@ -615,6 +616,7 @@ void win_set_minimal_style(win_T *wp) xfree(old); } + // signcolumn: use 'auto' if (wp->w_p_scl[0] != 'a') { xfree(wp->w_p_scl); wp->w_p_scl = (char_u *)xstrdup("auto"); |