-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: more general support for external auto-completion #38
Comments
Happy to disable mini completion by default, but there should be nothing wrong with having it enabled. I disabled require("mini.completion").setup()
vim.defer_fn(function()
vim.api.nvim_feedkeys("Gohelloworld", "t", true)
end, 100)
vim.defer_fn(function()
vim.cmd([[stopinsert]])
end, 1000)
vim.defer_fn(function()
-- Now any attempt to insert triggers the error
vim.api.nvim_feedkeys("i", "t", true)
end, 1500) |
Thanks for automated disabling. I've added the note in 'mini.completion' docs, so that is not that necessary, but still nice. Your example left me really puzzled, though. Not really a 'mini.completion' issue, but issue with I'll ponder a bit until submitting an issue and probably close this after. Does this sound good? |
Works for me. I wouldn't be surprised if it were some edge case within Neovim itself; I've noticed some odd behavior for |
So from neovim/neovim#18395 it does indeed seem like a Neovim issue. Thanks for the code example! Closing as irrelevant to the plugin itself. |
Right now plugin's
vim.ui.input
defines its own completion. It seems to conflict with other external (auto-)completion functionality. This is vaguely confirmed by hard-coded 'nvim-cmp' disabling. I understand that 'nvim-cmp' is the completion engine right now, but it would be nice to at least have notice somewhere that external completion engine should be disabled in specified buffer. For example, this caused a hard-to-find behavior in 'mini.completion' (echasnovski/mini.nvim#68).The text was updated successfully, but these errors were encountered: