2024-07-08 19:43:04 +02:00
|
|
|
{ ... }:
|
2024-07-08 14:24:48 +02:00
|
|
|
{
|
2024-07-08 19:43:04 +02:00
|
|
|
imports = [
|
|
|
|
./plugins
|
|
|
|
];
|
2024-07-08 14:24:48 +02:00
|
|
|
programs.nixvim = {
|
|
|
|
enable = true;
|
|
|
|
defaultEditor = true;
|
|
|
|
clipboard.register = "unnamedplus";
|
|
|
|
colorschemes.gruvbox.enable = true;
|
|
|
|
|
|
|
|
plugins = {
|
|
|
|
treesitter = {
|
|
|
|
enable = true;
|
|
|
|
indent = true;
|
|
|
|
nixvimInjections = true;
|
|
|
|
};
|
2024-07-08 19:43:04 +02:00
|
|
|
lualine.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
opts = {
|
|
|
|
number = true;
|
|
|
|
tabstop = 2;
|
|
|
|
softtabstop = 2;
|
|
|
|
showtabline = 2;
|
|
|
|
expandtab = true;
|
|
|
|
shiftwidth = 2;
|
|
|
|
smartindent = true;
|
|
|
|
breakindent = true;
|
|
|
|
cursorline = true;
|
|
|
|
scrolloff = 8;
|
|
|
|
cmdheight = 0;
|
|
|
|
wrap = true;
|
|
|
|
termguicolors = true;
|
|
|
|
showmode = false;
|
2024-07-08 14:24:48 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|