fix: some stuff
This commit is contained in:
parent
588798471e
commit
ab71e97de6
3 changed files with 6 additions and 14 deletions
|
@ -39,6 +39,9 @@ in
|
|||
plugins = true;
|
||||
};
|
||||
combinePlugins.enable = true;
|
||||
combinePlugins.standalonePlugins = [
|
||||
"plenary.nvim"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
default = [
|
||||
"lsp"
|
||||
"path"
|
||||
"luasnip"
|
||||
"snippets"
|
||||
"buffer"
|
||||
"vimtex"
|
||||
];
|
||||
|
@ -36,18 +36,7 @@
|
|||
signature.enabled = true;
|
||||
completion.documentation.auto_show = true;
|
||||
completion.accept.auto_brackets.enabled = true;
|
||||
snippets = {
|
||||
expand.__raw = ''require("luasnip").lsp_expand'';
|
||||
active.__raw = ''
|
||||
function(filter)
|
||||
if filter and filter.direction then
|
||||
return require('luasnip').jumpable(filter.direction)
|
||||
end
|
||||
return require('luasnip').in_snippet()
|
||||
end
|
||||
'';
|
||||
jump.__raw = ''require("luasnip").jump'';
|
||||
};
|
||||
snippets.preset = "luasnip";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,6 +5,6 @@ let
|
|||
in
|
||||
{
|
||||
home-manager.users.moritz.programs.nixvim = {
|
||||
plugins.crates-nvim.enable = true;
|
||||
plugins.crates.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue