mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-16 15:07:44 +02:00
nvim: load snippets correctly
This commit is contained in:
parent
95b12ad1cb
commit
803bbfed15
@ -13,7 +13,7 @@ return {
|
|||||||
{
|
{
|
||||||
'l3mon4d3/luasnip',
|
'l3mon4d3/luasnip',
|
||||||
config = function()
|
config = function()
|
||||||
require("luasnip.loaders.from_snipmate")
|
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||||
end,
|
end,
|
||||||
dependencies = { 'saadparwaiz1/cmp_luasnip' }
|
dependencies = { 'saadparwaiz1/cmp_luasnip' }
|
||||||
},
|
},
|
||||||
@ -65,9 +65,9 @@ return {
|
|||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'luasnip' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' }
|
||||||
{ name = 'luasnip' }
|
|
||||||
},
|
},
|
||||||
formatting = {
|
formatting = {
|
||||||
format = require("lspkind").cmp_format({
|
format = require("lspkind").cmp_format({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user