mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-07-07 14:25:13 +02:00
Add luasnip snippets
This commit is contained in:
12
.config/nvim/lua/plugins/snippets.lua
Normal file
12
.config/nvim/lua/plugins/snippets.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
dependencies = { "rafamadriz/friendly-snippets" },
|
||||
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
||||
-- install jsregexp (optional!).
|
||||
build = "make install_jsregexp",
|
||||
config = function ()
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user