add luasnip
This commit is contained in:
parent
c5369f84df
commit
1c59815bcf
2 changed files with 4 additions and 3 deletions
|
|
@ -10,11 +10,9 @@ _:
|
||||||
{ name = "nvim_lsp"; priority = 1000; }
|
{ name = "nvim_lsp"; priority = 1000; }
|
||||||
{ name = "path"; priority = 250; }
|
{ name = "path"; priority = 250; }
|
||||||
{ name = "buffer"; priority = 500; group_index = 2; }
|
{ name = "buffer"; priority = 500; group_index = 2; }
|
||||||
|
{ name = "luasnip"; priority = 750; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO: add this at luasnip:
|
|
||||||
# { name = "luasnip", priority = 750 }
|
|
||||||
|
|
||||||
mapping = {
|
mapping = {
|
||||||
"<Up>" = "cmp.mapping.select_prev_item { behavior = cmp.SelectBehavior.Select }";
|
"<Up>" = "cmp.mapping.select_prev_item { behavior = cmp.SelectBehavior.Select }";
|
||||||
"<Down>" = "cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Select }";
|
"<Down>" = "cmp.mapping.select_next_item { behavior = cmp.SelectBehavior.Select }";
|
||||||
|
|
|
||||||
3
plugins/luasnip.nix
Normal file
3
plugins/luasnip.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
_:{
|
||||||
|
opts.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue