Closed naquad closed 1 year ago
This is a bug. The problem is that my complete setup was truncating anything after a newline on my config. Are your dotfiles up anywhere so that I can refer to them for testing?
My dotfiles are 2.5k+ SLOC of Lua with a direct port of the old VIM config. So, no, I'm way too embarrassed to post that anywhere :man_facepalming:
I'm having the same issue. Even if I'm removing every plugin that I have except planery, cmp and nui I'm still getting duplicates of the documentation. My plugin manager is paq.
All i have in my cmp setup file is:
mapping = cmp.mapping.preset.insert({
['<C-d>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-c>'] = cmp.mapping.abort(),
['<C-CR>'] = cmp.mapping.confirm({ select = true }),
-- ['<C-space>'] = cmp.mapping.confirm {
-- behavior = cmp.ConfirmBehavior.Replace,
-- select = true,
-- },
['<C-e>'] = cmp.mapping(function(fallback)
if luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
else
fallback()
end
end, { 'i', 's' }),
}),
sources = {
{ name = "codeium" },
}
and I tried to comment out the whole init.lua file except the loading of the abeove mentioned plugins. Sadly, I don't have my anywhere.
I have pushed a commit that removes one of the props from the completion entry, although I still haven't been able to get mine to look like yours. What is your completeopt set to?
set.completeopt = "menu,menuone,preview,noselect,noinsert"
However, I commented out my init.lua file i also commented out that all my "set-options" including completeopt.
I've updated the plugin. Great success!
Thank you :)
While trying out codeium.nvim I've noted the following:
The suggested multiline text in the documentation window is duplicated. It has been reproduced in other file types too:
Any other completion plugin has not exposed such behavior.
Is this a bug or by design?