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