diff options
author | opalmay <[email protected]> | 2023-02-06 21:50:26 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-02-06 21:50:26 +0200 |
commit | 430a42d01288d9e8ead12cf8317b905a5b951cd7 (patch) | |
tree | 9b6181f048cb2b2514e807664579f4c27d53a55b /lua/lvim/plugins.lua | |
parent | 070565d5735432b6c5c380e87cdfaaf4a98dc12b (diff) |
refactor: from cr
Diffstat (limited to 'lua/lvim/plugins.lua')
-rw-r--r-- | lua/lvim/plugins.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/lvim/plugins.lua b/lua/lvim/plugins.lua index c3064f5c..5fe7211e 100644 --- a/lua/lvim/plugins.lua +++ b/lua/lvim/plugins.lua @@ -65,10 +65,14 @@ local core_plugins = { }, }, { "hrsh7th/cmp-nvim-lsp", lazy = true }, - { "saadparwaiz1/cmp_luasnip", lazy = true }, { "hrsh7th/cmp-buffer", lazy = true }, { "hrsh7th/cmp-path", lazy = true }, { + "saadparwaiz1/cmp_luasnip", + lazy = true, + enabled = lvim.builtin.luasnip.active, + }, + { "hrsh7th/cmp-cmdline", lazy = true, enabled = lvim.builtin.cmp and lvim.builtin.cmp.cmdline.enable or false, @@ -82,6 +86,7 @@ local core_plugins = { dependencies = { "friendly-snippets", }, + enabled = lvim.builtin.luasnip.active, }, { "rafamadriz/friendly-snippets", lazy = true, cond = lvim.builtin.luasnip.sources.friendly_snippets }, { |