Open EdmundsEcho opened 10 months ago
I have the exact same problem with OCaml
I had a similar issue and I was able to resolve it by removing the custom view
configuration.
view = "wildmenu", -- or 'native' 'wildmenu'
If you do want to keep your custom view
configuration, it should at least define the values in https://github.com/hrsh7th/nvim-cmp/blob/51260c02a8ffded8e16162dcf41a23ec90cfba62/lua/cmp/config/default.lua#L93-L101 as https://github.com/hrsh7th/nvim-cmp/blob/51260c02a8ffded8e16162dcf41a23ec90cfba62/lua/cmp/view.lua#L270 depends on view.docs.auto_open
being defined.
FAQ
Announcement
Minimal reproducible full config
Description
neovim generates a list of suggestions. When I select a suggestion, I get an error in the lua source code for this plugin (printed in my messages):
Steps to reproduce
Trigger the display of suggested lints. Hit tab to select one of the choices.
Expected behavior
If the plugin can't find a source, fail quietly.
Actual behavior
Generates error messages in the command region.
Additional context
In a jsx and py files I get a missing key error. Despite my not having looked at the source code, I wonder if the plugin should just fail quietly if the error is cause by not finding a source.