Announcement: nvim-compe is now deprecated.
hrsh7th opened this issue · 11 comments
I'm developing new completion plugin to solve some of the design mistakes (the mistakes was described in here.
Currently, the new plugin can use as testing. (But I will apply breaking change without any announcement).
If someone interest it, please feel free to use it and report the issue to the new repo.
I think this issue should be pinned.
Thank you! I did it.
As someone who uses this plugin myself and recommends it to others, I've always found it to be highly dependable. I'm not necessarily big on the idea of deprecating the entire plugin if instead certain features could be deprecated instead (like, for example, the VimL configuration which you mentioned).
If that's not possible, what I have noticed about cmp
was that I think setting Neovim options through a plugin's setup
function seems unnecessary. It could just be vim.opt.completeopt = {'menu', 'menuone', 'noselect'}
on the line above cmp.setup {}
in the README.
No. The completeopt
option is controlled by nvim-cmp. So it should be configuration option, I think.
The option is overwrote and restore by nvim-cmp itself. https://github.com/hrsh7th/nvim-cmp/blob/main/lua/cmp/menu.lua#L166
That's what I mean, I should have been more specific. I'm not sure cmp
should automatically overwrite settings— in the past plugins have done that to my settings and it can be a little dubious finding out which is the culprit 😅
Perhaps an error would be good, if the settings aren't at least what cmp
expects? That way users know and make the change themselves.
In general, completion plugin manages completeopt
setting... So I think it is not a strange way.
completion-nvim
doesn't, compe
issues a warning rather than overriding, and coc.nvim
doesn't either.
All the "major" completion plugins don't touch user settings and either issue warning or simply have a note in the README.
I defer to you on these matters though, you have more experience writing these plugins
Hm. completion-nvim
does not change completeopt
.
But it is not the perfect solution. Please read the issue.
The auto completion breaks longest
behavior.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think the issue should not be closed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.