Update .config/nvim/lua/plugins/lsp.lua
This commit is contained in:
parent
4954013534
commit
78658ee2b0
1 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@ return {
|
||||||
"hrsh7th/cmp-cmdline",
|
"hrsh7th/cmp-cmdline",
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
"rafamadriz/friendly-snippets",
|
"honza/vim-snippets",
|
||||||
"hrsh7th/cmp-nvim-lsp-signature-help",
|
"hrsh7th/cmp-nvim-lsp-signature-help",
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
|
@ -43,7 +43,8 @@ return {
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
require("luasnip.loaders.from_vscode").lazy_load()
|
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||||
|
|
||||||
-- Setup cmp with options
|
-- Setup cmp with options
|
||||||
opts.snippet = {
|
opts.snippet = {
|
||||||
expand = function(args)
|
expand = function(args)
|
||||||
|
|
Loading…
Reference in a new issue