2024-02-12 10:10:32 +01:00
|
|
|
{ pkgs, lib, inputs, ... }:
|
2023-09-10 13:30:29 +02:00
|
|
|
|
|
|
|
with builtins;
|
|
|
|
{
|
2023-09-17 09:35:10 +02:00
|
|
|
config.home-manager.users.moritz.programs.neovim.lazy.plugins = with pkgs.vimPlugins; [
|
2023-09-10 13:30:29 +02:00
|
|
|
{
|
|
|
|
plugin = which-key-nvim;
|
|
|
|
lazy = false;
|
|
|
|
conf = readFile ./lua/which-key-nvim.lua;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
plugin = catppuccin-nvim;
|
|
|
|
conf = readFile ./lua/catppuccin-nvim.lua;
|
|
|
|
lazy = false;
|
|
|
|
priority = 99;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
plugin = todo-comments-nvim;
|
|
|
|
event = [ "BufReadPost" "BufNewFile" ];
|
|
|
|
dependencies = [{ plugin = plenary-nvim; }];
|
|
|
|
opts = { };
|
|
|
|
}
|
|
|
|
{
|
2024-02-12 10:10:32 +01:00
|
|
|
plugin = pkgs.vimPlugins.statuscol-nvim.overrideAttrs (_: {
|
|
|
|
version = lib.my.mkVersionInput inputs.statuscol-nvim;
|
|
|
|
src = inputs.statuscol-nvim;
|
|
|
|
});
|
2023-09-10 13:30:29 +02:00
|
|
|
event = [ "VeryLazy" ];
|
|
|
|
conf = readFile ./lua/statuscol-nvim.lua;
|
|
|
|
}
|
|
|
|
{
|
2024-02-12 10:10:32 +01:00
|
|
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
|
|
|
pname = "smartcolumn-nvim";
|
|
|
|
version = lib.my.mkVersionInput inputs.smartcolumn-nvim;
|
|
|
|
src = inputs.smartcolumn-nvim;
|
|
|
|
};
|
2023-09-10 13:30:29 +02:00
|
|
|
event = [ "BufReadPost" "BufNewFile" ];
|
|
|
|
opts = {
|
|
|
|
colorcolumn = "120";
|
|
|
|
disabled_filetypes = [ "help" "text" "markdown" "dashboard" ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
{
|
|
|
|
plugin = dressing-nvim;
|
|
|
|
event = [ "VeryLazy" ];
|
|
|
|
}
|
|
|
|
{
|
|
|
|
plugin = gitsigns-nvim;
|
|
|
|
event = [ "BufReadPost" "BufNewFile" ];
|
|
|
|
conf = readFile ./lua/gitsigns-nvim.lua;
|
|
|
|
dependencies = [{ plugin = which-key-nvim; }];
|
|
|
|
}
|
2024-02-12 10:11:13 +01:00
|
|
|
{
|
|
|
|
plugin = pkgs.vimUtils.buildVimPlugin {
|
|
|
|
pname = "hawtkeys-nvim";
|
|
|
|
version = lib.my.mkVersionInput inputs.hawtkeys-nvim;
|
|
|
|
src = inputs.hawtkeys-nvim;
|
|
|
|
};
|
|
|
|
cmd = [ "Hawtkeys" "HawtkeysAll" "HawtkeysDupes" ];
|
|
|
|
opts = { };
|
|
|
|
dependencies = [
|
|
|
|
{ plugin = plenary-nvim; }
|
|
|
|
{ plugin = nvim-treesitter; }
|
|
|
|
];
|
|
|
|
}
|
2023-09-10 13:30:29 +02:00
|
|
|
];
|
|
|
|
}
|