Closed krisfans closed 3 years ago
You add it as opt
and then do packadd on autocmd:
autocmd InsertEnter * packadd nvim-compe
If you are referring to something like https://github.com/wbthomason/packer.nvim has, that is not supported.
autocmd InsertEnter * packadd nvim-compe
It doesn't work , and i don't know why .
That's a question for nvim-compe author. I tried it, and it loaded the plugin (:echo g:loaded_compe
returns true), so I'm not sure why it's not working.
For example , i want to lazy load a autocompletion plugin like nvim-compe on
InsertEnter
,what should i do ? I tried the following, but failedIn addition , is there anyway to control a plugin config before/after a lazy load plugin ? Thanks.