Closed krillin666 closed 3 years ago
This plugin is just a source extension of https://github.com/hrsh7th/nvim-cmp, which is written in lua. Then using with packer is recommended.
You could use wbthomason/packer.nvim and Vim plug at the same time without any conflicts (I'm using packer.nvim and vim plug at the same time as well)
But, we can use vim vim plug as below
Plug 'quangnguyen30192/cmp-nvim-ultisnips'
Plug 'hrsh7th/nvim-cmp'
lua require 'cmp-config'
You will need to create a lua file under ~/.config/nvim/lua/cmp-config.lua and put everything in the config function from the README
config = function()
...
end
Or you could use lua heredoc right in vim file as the guy here is doing
Thank you for the help !
@quannguyen30192 the comment in reddit was removed.
Hey @DinkyTrady do you want to install with vimplug?
@quangnguyen30192 yes, but now i can setup and configure it.
Thanks for the fix, any idea how one should proceed to install this with Vim Plug ?