diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-03-01 18:05:15 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-03-01 18:10:33 +0530 |
commit | 5aacff03453e505ee6e5181e3247676239570dbc (patch) | |
tree | ea6208d4f10ef33bf28d20c921469e0fde722486 /lua/plugins/opts/misc.lua | |
parent | 1f7b1559e41b62a6ddef67bedf52dfe3b6cafd18 (diff) |
plugins/lsp: init
Diffstat (limited to 'lua/plugins/opts/misc.lua')
-rw-r--r-- | lua/plugins/opts/misc.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/opts/misc.lua b/lua/plugins/opts/misc.lua index 952dc4f..e228023 100644 --- a/lua/plugins/opts/misc.lua +++ b/lua/plugins/opts/misc.lua @@ -16,4 +16,15 @@ M.gitsigns = { end, } +M.luasnip = function (opts) + require("luasnip").config.set_config(opts) + + -- vscode format + require("luasnip.loaders.from_vscode").lazy_load() + -- snipmate format + require("luasnip.loaders.from_snipmate").lazy_load() + -- lua format + require("luasnip.loaders.from_lua").lazy_load() +end + return M |