fix for new neovim

This commit is contained in:
Daniel Winkler 2026-04-17 18:05:04 +10:00
commit da216e84c9
4 changed files with 44 additions and 152 deletions

View file

@ -66,8 +66,9 @@ if vim.fn.has('nvim-0.11') == 1 then
vim.o.winborder = 'rounded' -- Use double-line as default border
end
if vim.fn.has('nvim-0.12') == 1 then
vim.o.pummaxwidth = 100 -- Limit maximum width of popup menu
vim.o.completefuzzycollect = 'keyword,files,whole_line' -- Use fuzzy matching when collecting candidates
vim.o.pummaxwidth = 100 -- Limit maximum width of popup menu
-- vim.o.completefuzzycollect = 'keyword,files,whole_line' -- Use fuzzy matching when collecting candidates
vim.opt.completeopt = { "menu", "popup", "fuzzy", "longest" }
end
vim.o.complete = '.,w,b,kspell' -- Use spell check and don't use tags for completion