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

25 lines
528 B
Nix
Raw Normal View History

2024-03-24 23:39:49 +01:00
{
config,
lib,
2024-03-24 23:39:49 +01:00
pkgs,
...
}: {
config = lib.mkIf config.user.nvim.enable {
programs.nixvim = {
plugins.comment.enable = true;
plugins.marks.enable = true;
2024-09-28 00:04:19 +02:00
plugins.vim-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({})'';
2024-03-24 23:39:49 +01:00
};
};
}