added more snippets, lazy load to speed up start times
This commit is contained in:
@@ -451,7 +451,7 @@ function M.luasnip()
|
|||||||
luasnip.filetype_extend("htmldjango", { "html" })
|
luasnip.filetype_extend("htmldjango", { "html" })
|
||||||
luasnip.filetype_extend("templ", { "html" })
|
luasnip.filetype_extend("templ", { "html" })
|
||||||
luasnip.filetype_extend("handlebars", { "html" })
|
luasnip.filetype_extend("handlebars", { "html" })
|
||||||
require("luasnip.loaders.from_snipmate").load()
|
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.rustaceanvim()
|
function M.rustaceanvim()
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ function M.install_plugins()
|
|||||||
-- Snippets
|
-- Snippets
|
||||||
{ "L3MON4D3/LuaSnip" }, -- Required
|
{ "L3MON4D3/LuaSnip" }, -- Required
|
||||||
{ "rafamadriz/friendly-snippets" }, -- Optional
|
{ "rafamadriz/friendly-snippets" }, -- Optional
|
||||||
|
{ "honza/vim-snippets" }, -- Optional
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user