neovim: break plugins to separate files

This commit is contained in:
John Bowdre 2024-12-11 21:04:55 -06:00
parent 4d91b2cb09
commit 920c660a2c
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo
3 changed files with 29 additions and 24 deletions

View file

@ -3,12 +3,14 @@
./barbar.nix ./barbar.nix
./comment.nix ./comment.nix
./floaterm.nix ./floaterm.nix
./gitsigns.nix
./harpoon.nix ./harpoon.nix
./lsp.nix ./lsp.nix
./md-preview.nix ./md-preview.nix
./neo-tree.nix ./neo-tree.nix
./telescope.nix ./telescope.nix
./treesitter.nix ./treesitter.nix
./trim.nix
]; ];
programs.nixvim = { programs.nixvim = {
@ -17,36 +19,12 @@
plugins = { plugins = {
web-devicons.enable = true; web-devicons.enable = true;
gitsigns = {
enable = true;
settings.signs = {
add.text = "+";
change.text = "~";
delete.text = "-";
};
};
nvim-autopairs.enable = true; nvim-autopairs.enable = true;
nvim-colorizer = { nvim-colorizer = {
enable = true; enable = true;
userDefaultOptions.names = false; userDefaultOptions.names = false;
}; };
trim = {
enable = true;
settings = {
highlight = false;
trim_last_line = false;
ft_blocklist = [
"checkhealth"
"floaterm"
"lsipinfo"
"neo-tree"
"TelescopePrompt"
];
};
};
}; };
}; };
} }

View file

@ -0,0 +1,11 @@
{
programs.nixvim.plugins.gitsigns = {
enable = true;
settings.signs = {
add.text = "+";
change.text = "~";
delete.text = "-";
};
};
}

View file

@ -0,0 +1,16 @@
{
programs.nixvim.plugins.trim = {
enable = true;
settings = {
highlight = false;
trim_last_line = false;
ft_blocklist = [
"checkhealth"
"floaterm"
"lsipinfo"
"neo-tree"
"TelescopePrompt"
];
};
};
}