mirror of
https://github.com/neovim/neovim.git
synced 2026-04-25 00:35:36 +00:00
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
529b9ad62a
This commit is contained in:
2
runtime/lua/vim/_meta/options.lua
generated
2
runtime/lua/vim/_meta/options.lua
generated
@@ -1084,6 +1084,8 @@ vim.bo.cfu = vim.bo.completefunc
|
||||
--- @type string
|
||||
vim.o.completeopt = "menu,preview"
|
||||
vim.o.cot = vim.o.completeopt
|
||||
vim.bo.completeopt = vim.o.completeopt
|
||||
vim.bo.cot = vim.bo.completeopt
|
||||
vim.go.completeopt = vim.o.completeopt
|
||||
vim.go.cot = vim.go.completeopt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user