A collection of snippets for different programming languages.
You can install the snippets with lazy.nvim:
{
"L3MON4D3/LuaSnip",
dependencies = {
"nvim-contrib/nvim-snippets",
},
config = function(plugin, opts)
-- include the default astronvim config that calls the setup call
require "astronvim.plugins.configs.luasnip"(plugin, opts)
-- load snippets paths
require("luasnip.loaders.from_vscode").lazy_load {
paths = { vim.fn.stdpath "data" .. "/lazy/nvim-snippets" },
}
end,
}