diff --git a/plugins/cmp.nix b/plugins/cmp.nix index 507cbe9..d9b700f 100644 --- a/plugins/cmp.nix +++ b/plugins/cmp.nix @@ -10,11 +10,9 @@ _: { name = "nvim_lsp"; priority = 1000; } { name = "path"; priority = 250; } { name = "buffer"; priority = 500; group_index = 2; } + { name = "luasnip"; priority = 750; } ]; - # TODO: add this at luasnip: - # { name = "luasnip", priority = 750 } - mapping = { "" = "cmp.mapping.select_prev_item { behavior = cmp.SelectBehavior.Select }"; "" = "cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Select }"; diff --git a/plugins/luasnip.nix b/plugins/luasnip.nix new file mode 100644 index 0000000..4701491 --- /dev/null +++ b/plugins/luasnip.nix @@ -0,0 +1,3 @@ +_:{ + opts.enable = true; +}