dotfiles/modules/programs/nvim/plugins/ui.nix

49 lines
1.3 KiB
Nix
Raw Normal View History

2024-02-12 10:10:32 +01:00
{ pkgs, lib, inputs, ... }:
2023-09-10 13:30:29 +02:00
2024-07-19 16:58:38 +02:00
let
inherit (lib) readFile;
in
2023-09-10 13:30:29 +02:00
{
2024-07-19 16:58:38 +02:00
config.home-manager.users.moritz.programs.neovim.lazy.plugins = [
2023-09-10 13:30:29 +02:00
{
2024-07-19 16:58:38 +02:00
plugin = pkgs.vimPlugins.which-key-nvim;
2023-09-10 13:30:29 +02:00
lazy = false;
conf = readFile ./lua/which-key-nvim.lua;
}
{
2024-07-19 16:58:38 +02:00
plugin = pkgs.vimPlugins.catppuccin-nvim;
2023-09-10 13:30:29 +02:00
conf = readFile ./lua/catppuccin-nvim.lua;
lazy = false;
priority = 99;
}
{
2024-07-19 16:58:38 +02:00
plugin = pkgs.vimPlugins.todo-comments-nvim;
dependencies = [{ plugin = pkgs.vimPlugins.plenary-nvim; }];
2023-09-10 13:30:29 +02:00
opts = { };
}
{
2024-07-19 16:58:38 +02:00
plugin = pkgs.vimPlugins.dressing-nvim;
2023-09-10 13:30:29 +02:00
event = [ "VeryLazy" ];
}
{
2024-07-19 16:58:38 +02:00
plugin = pkgs.vimPlugins.gitsigns-nvim;
2023-09-10 13:30:29 +02:00
event = [ "BufReadPost" "BufNewFile" ];
conf = readFile ./lua/gitsigns-nvim.lua;
2024-07-19 16:58:38 +02:00
dependencies = [{ plugin = pkgs.vimPlugins.which-key-nvim; }];
2023-09-10 13:30:29 +02:00
}
2024-02-12 10:11:13 +01:00
{
2024-08-18 13:03:18 +02:00
plugin = pkgs.vimUtils.buildVimPlugin {
2024-02-12 10:11:13 +01:00
pname = "hawtkeys-nvim";
version = lib.my.mkVersionInput inputs.hawtkeys-nvim;
src = inputs.hawtkeys-nvim;
};
cmd = [ "Hawtkeys" "HawtkeysAll" "HawtkeysDupes" ];
opts = { };
dependencies = [
2024-07-19 16:58:38 +02:00
{ plugin = pkgs.vimPlugins.plenary-nvim; }
{ plugin = pkgs.vimPlugins.nvim-treesitter; }
2024-02-12 10:11:13 +01:00
];
}
2023-09-10 13:30:29 +02:00
];
}