diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-06-06 05:50:44 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-06-06 06:07:31 +0800 |
commit | 1d4e894403638a94ac58766cdcbc7f3128db318b (patch) | |
tree | bfd2791623c56bb106f61286d3cb7a855e126355 /src/nvim/options.lua | |
parent | c235a063d6ead447f13076be50ddd9fae6223913 (diff) | |
download | rneovim-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/options.lua')
-rw-r--r-- | src/nvim/options.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index aa43c4cf3d..f323926015 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1466,7 +1466,7 @@ return { expand_cb = 'expand_set_completeopt', full_name = 'completeopt', list = 'onecomma', - scope = { 'global' }, + scope = { 'global', 'buffer' }, short_desc = N_('options for Insert mode completion'), type = 'string', varname = 'p_cot', |