LunarVim / Launch.nvim

🚀 Launch.nvim is modular starter for Neovim.
GNU General Public License v3.0
2k stars 474 forks source link

fix: defer cmp_nvim_lsp require to config #137

Closed tomasgareau closed 1 year ago

tomasgareau commented 1 year ago

If cmp_nvim_lsp has not already been installed, this require will fail. Moving it to the config call allows lazy to find it listed in the dependencies above and install it before we try requiring it.

I suspect this doesn't happen if you start from the full nvim-basic-ide example since it'll also get installed in cmp.lua but I was building my config up step-by-step with this as a guide and bumped into it.

MickTheRus commented 1 year ago

Forgot about that one.