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
./comment.nix
./floaterm.nix
./gitsigns.nix
./harpoon.nix
./lsp.nix
./md-preview.nix
./neo-tree.nix
./telescope.nix
./treesitter.nix
./trim.nix
];
programs.nixvim = {
@ -17,36 +19,12 @@
plugins = {
web-devicons.enable = true;
gitsigns = {
enable = true;
settings.signs = {
add.text = "+";
change.text = "~";
delete.text = "-";
};
};
nvim-autopairs.enable = true;
nvim-colorizer = {
enable = true;
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"
];
};
};
}