lifepillar / vim-mucomplete

Chained completion that works the way you want!
MIT License
912 stars 18 forks source link

Unknown function: lsp#omni#get_managed_user_data_from_completed_item #199

Open sergey-lapin opened 2 years ago

sergey-lapin commented 2 years ago

Hi 👋 , trying to get running this plugin. This error shows up have error after I hit tab

Error detected while processing function <SNR>104_debounceTimeTimerCallback[1]..<SNR>104_switchMapInputSourceCallback[7]..<lambda>29[1]..<SNR>120_resolve_completion:
line    1:

Error detected while processing function <SNR>106_on_complete_done:
line    9:
E117: Unknown function: lsp#omni#get_managed_user_data_from_completed_item

My guess is lsp version is wrong. This is my config now basically

use {
  "neovim/nvim-lspconfig"
}
local nvim_lsp = require("lspconfig")
lifepillar commented 2 years ago

This issue most likely does not depend on MUcomplete. You can verify that by trying to reproduce it with CTRL-X CTRL-O (Vim's default mapping to trigger omni-completion) instead of Tab. If you can reproduce it that way, you should double-check the configuration of nvim-lspconfig and/or ask for help at nvim-lspconfig (I do not use that plugin and I do not know why you may get that error).

When you have verified that you may trigger omni-completion with CTRL-X CTRL-O, try again with MUcomplete: it should then work as expected.

sergey-lapin commented 2 years ago

@lifepillar alright, will try that, thanks for response.