aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorDennis B <bluz71@users.noreply.github.com>2019-11-22 20:55:04 +1100
committerBjörn Linse <bjorn.linse@gmail.com>2019-11-22 10:55:04 +0100
commitd5f14b8372b3c8d441187eea659156534cb4c9ba (patch)
treea7094508258e1adc454f0045fd65ed14665bad7b /src/nvim/api/vim.c
parentcc5487e32f6fc6d0034634a1f9e736968afb4450 (diff)
downloadrneovim-d5f14b8372b3c8d441187eea659156534cb4c9ba.tar.gz
rneovim-d5f14b8372b3c8d441187eea659156534cb4c9ba.tar.bz2
rneovim-d5f14b8372b3c8d441187eea659156534cb4c9ba.zip
Clear 'cc' in nvim_open_win 'minimal' style #11361 (#11427)
* Clear 'cc' in nvim_open_win 'minimal' style #11361 Add 'colorcolumn' to the list of options that should be cleared when creating a 'minimal'-style floating window.
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 10f7dd1a7b..3535bc3186 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1074,9 +1074,10 @@ fail:
/// float where the text should not be edited. Disables
/// 'number', 'relativenumber', 'cursorline', 'cursorcolumn',
/// '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'.
+/// is changed to `auto` and 'colorcolumn' is cleared. The
+/// end-of-buffer region is hidden by setting `eob` flag of
+/// 'fillchars' to a space char, and clearing the
+/// |EndOfBuffer| region in 'winhighlight'.
/// @param[out] err Error details, if any
///
/// @return Window handle, or 0 on error