nix-config/modules/home-manager/nvim/simpleplugins.nix

22 lines
437 B
Nix

{
configs,
pkgs,
...
}: {
programs.nixvim = {
plugins.comment.enable = true;
plugins.marks.enable = true;
plugins.surround.enable = true;
plugins.todo-comments.enable = true;
plugins.leap = {
enable = true;
addDefaultMappings = true;
};
extraPlugins = with pkgs.vimPlugins; [
vim-numbertoggle
dressing-nvim
];
extraConfigLua = ''require("dressing").setup({})'';
};
}