Closed ammuench closed 6 months ago
@ammuench See if #842 doesn't fix this.
Resolved the issue for me when testing with a clean tempalte + mini-completion
Can confirm this works @Uzaaft! Thank you! Would you like me to update the coq-nvim
plugin with the same fix?
@ammuench I'll patch it in a seperate PR.
Checklist
Neovim version (nvim -v)
v0.9.5
Operating system/version
PopOS 22.04 LTS, Kernel 6.8.0-76060800
Terminal/GUI
kitty
Describe the bug
Hello!
I just did a fresh setup of Astronvim v4, and was going through setting up a few different community plugins.
Had no issues with most of them until I wanted to try and setup
mini-cmp
. I also saw the same issue occur when trying to addcoq-nvim
After adding them in the
community.lua
file and restarting, I'm presented with this error:The error still occurs even if you disable
opts.features.cmp
inastrocore.lua
. I suspect its due to disabling the othercmp
plugins, which seem to be required somewhere in the Astronvim init logic. The only way I gotmini
working was by just adding the plugin manually without disablingnvim-cmp
. It technically works, but I assume we don't want to have multiple completion engines if only one is used.If we did want a bandaid fix in the meantime, we could just remove
from the respective plugins to ensure they do not cause any malfunctions
Steps to Reproduce
mini-cmp
to yourcommunity.lua
file by addingto the file
nvim
Failed to source "/home/amuench/.local/share/nvim/lazy/cmp-buffer/after/plugin/cmp_buffer.lua"
when starting and that completions do not workExpected behavior
Completion plugins in the community repo should install without error
Screenshots
No response
Additional Context
No response