2024-03-24 23:39:49 +01:00
|
|
|
{
|
2024-05-29 20:40:03 +02:00
|
|
|
config,
|
|
|
|
lib,
|
2024-03-24 23:39:49 +01:00
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-05-29 20:40:03 +02:00
|
|
|
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;
|
2024-05-29 20:40:03 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|