diff --git a/lua/dotvim/pkgs/coding/plugins/luasnip.lua b/lua/dotvim/pkgs/coding/plugins/luasnip.lua index b05ca4a8..a7f27b95 100644 --- a/lua/dotvim/pkgs/coding/plugins/luasnip.lua +++ b/lua/dotvim/pkgs/coding/plugins/luasnip.lua @@ -9,6 +9,11 @@ return { user = { name = "Hawtian Wang", }, + snippet = { + lua = { + vim_snippet = true, + }, + }, }, }, { diff --git a/lua/dotvim/pkgs/extra/languages/lua.lua b/lua/dotvim/pkgs/extra/languages/lua.lua index 12ce49e5..6e568891 100644 --- a/lua/dotvim/pkgs/extra/languages/lua.lua +++ b/lua/dotvim/pkgs/extra/languages/lua.lua @@ -31,7 +31,8 @@ return { "nui.nvim", "plenary.nvim", "nui-components.nvim", - "nvim-spectre" + "nvim-spectre", + "LuaSnip", } for _, plugin in ipairs(add_plugins) do table.insert(