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

25 lines
524 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;
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({})'';
2024-03-24 23:39:49 +01:00
};
};
}