aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-06 05:50:44 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-06 06:07:31 +0800
commit1d4e894403638a94ac58766cdcbc7f3128db318b (patch)
treebfd2791623c56bb106f61286d3cb7a855e126355 /src/nvim/buffer.c
parentc235a063d6ead447f13076be50ddd9fae6223913 (diff)
downloadrneovim-1d4e894403638a94ac58766cdcbc7f3128db318b.tar.gz
rneovim-1d4e894403638a94ac58766cdcbc7f3128db318b.tar.bz2
rneovim-1d4e894403638a94ac58766cdcbc7f3128db318b.zip
vim-patch:9.1.0469: Cannot have buffer-local value for 'completeopt'
Problem: Cannot have buffer-local value for 'completeopt' (Nick Jensen). Solution: Make 'completeopt' global-local (zeertzjq). Also for some reason test Test_ColonEight_MultiByte seems to be failing sporadically now. Let's mark it as flaky. fixes: vim/vim#5487 closes: vim/vim#14922 https://github.com/vim/vim/commit/529b9ad62a0e843ee56ef609aef7e51b7dc8a4c8
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c
index c0fbc36787..57245ce3f5 100644
--- a/src/nvim/buffer.c
+++ b/src/nvim/buffer.c
@@ -2077,6 +2077,7 @@ void free_buf_options(buf_T *buf, bool free_p_ff)
clear_string_option(&buf->b_p_lop);
clear_string_option(&buf->b_p_cinsd);
clear_string_option(&buf->b_p_cinw);
+ clear_string_option(&buf->b_p_cot);
clear_string_option(&buf->b_p_cpt);
clear_string_option(&buf->b_p_cfu);
callback_free(&buf->b_cfu_cb);