fix(nvim): fix snippets
This commit is contained in:
parent
569b5aac14
commit
7cfd04e4b8
@ -56,23 +56,13 @@ local function setup_cmp()
|
||||
end
|
||||
|
||||
return {
|
||||
{
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
"hrsh7th/cmp-cmdline",
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
},
|
||||
config = setup_cmp,
|
||||
},
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
},
|
||||
{
|
||||
'L3MON4D3/LuaSnip',
|
||||
dependencies = 'hrsh7th/nvim-cmp',
|
||||
build = "make install_jsregexp",
|
||||
dependencies = {
|
||||
'hrsh7th/nvim-cmp',
|
||||
'honza/vim-snippets',
|
||||
},
|
||||
config = function()
|
||||
local ls = require("luasnip")
|
||||
|
||||
@ -97,6 +87,17 @@ return {
|
||||
end
|
||||
},
|
||||
{
|
||||
'honza/vim-snippets'
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
"hrsh7th/cmp-cmdline",
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
},
|
||||
config = setup_cmp,
|
||||
},
|
||||
{
|
||||
'neovim/nvim-lspconfig',
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user