feat: add friendly-snippets to cmp
This commit is contained in:
parent
417197d303
commit
a5972cdfd2
|
@ -24,11 +24,14 @@ return {
|
||||||
'hrsh7th/cmp-nvim-lsp',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
'L3MON4D3/LuaSnip',
|
'L3MON4D3/LuaSnip',
|
||||||
'saadparwaiz1/cmp_luasnip',
|
'saadparwaiz1/cmp_luasnip',
|
||||||
|
'rafamadriz/friendly-snippets',
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- nvim-cmp setup
|
-- nvim-cmp setup
|
||||||
local cmp = require 'cmp'
|
local cmp = require 'cmp'
|
||||||
local luasnip = require 'luasnip'
|
local luasnip = require 'luasnip'
|
||||||
|
require('luasnip.loaders.from_vscode').lazy_load()
|
||||||
|
|
||||||
local border = require('utils').nvim_open_win_border
|
local border = require('utils').nvim_open_win_border
|
||||||
|
|
||||||
luasnip.config.setup {}
|
luasnip.config.setup {}
|
||||||
|
|
Loading…
Reference in New Issue