neovim-flake/config/plugins/qol.nix

72 lines
1.6 KiB
Nix
Raw Normal View History

# Quality of life plugins
{ pkgs, inputs, ... }:
2024-09-02 18:28:53 -07:00
{
extraPackages = with pkgs; [
ripgrep
fd
];
plugins = {
zen-mode.enable = true;
direnv.enable = true;
intellitab.enable = true;
guess-indent.enable = true;
comment.enable = true;
vim-bbye.enable = true;
indent-blankline.enable = true;
2024-09-17 14:21:47 -07:00
which-key = {
enable = true;
settings.delay = 1000;
};
nvim-autopairs.enable = true;
yanky = {
enable = true;
enableTelescope = true;
};
trouble.enable = true;
barbecue.enable = true;
lualine = {
enable = true;
settings = {
sections = {
lualine_a = [ "branch" ];
lualine_b = [
{
__unkeyed-1 = {
__raw = ''
function()
return require('lsp-progress').progress()
end,
'';
};
}
];
lualine_c = [ "diff" ];
};
options.globalstatus = true;
};
};
crates-nvim.enable = true;
# git stuff
gitsigns.enable = true;
2024-09-17 14:21:47 -07:00
neogit.enable = true;
# Language specific tools
markdown-preview.enable = true;
2024-08-28 01:39:06 -07:00
ts-autotag.enable = true;
};
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "satellite.nvim";
src = inputs.satellite;
})
(pkgs.vimUtils.buildVimPlugin {
name = "render-markdown.nvim";
src = inputs.render-markdown;
})
(pkgs.vimUtils.buildVimPlugin {
name = "lsp-progress.nvim";
src = inputs.lsp-progress;
})
];
}