clean up nixvim config

This commit is contained in:
lucy 2026-07-03 23:38:47 +02:00
commit 47401eb97f
5 changed files with 91 additions and 67 deletions

73
nixvim/plugins.nix Normal file
View file

@ -0,0 +1,73 @@
{
lib,
config,
pkgs,
...
}:
{
programs.nixvim = {
plugins = {
lspconfig.enable = true;
blink-cmp = {
enable = true;
};
blink-indent = {
enable = true;
};
cord = {
enable = true;
settings = {
display = {
theme = "atom";
};
editor = {
tooltip = "ur gay :3";
};
};
};
lualine = {
enable = true;
settings = {
options = {
section_separators = {
left = "";
right = "";
};
component_separators = {
left = "";
right = "";
};
};
sections = {
lualine_a = [
"mode"
];
lualine_b = [
"filename"
"filetype"
];
lualine_c = [
"diagnostics"
];
lualine_x = [
"lsp_status"
];
lualine_y = [ ];
lualine_z = [
"location"
];
};
tabline = {
lualine_a = [ "buffers" ];
lualine_b = [ "branch" ];
lualine_c = [ ];
lualine_x = [ ];
lualine_y = [ ];
lualine_z = [ "tabs" ];
};
};
};
};
};
}