nix/home/neovim/default.nix
2024-07-09 13:31:22 +02:00

42 lines
821 B
Nix

{ ... }:
{
imports = [
./plugins
];
programs.nixvim = {
enable = true;
defaultEditor = true;
clipboard.register = "unnamedplus";
colorschemes.gruvbox.enable = true;
plugins = {
treesitter = {
enable = true;
settings = {
indent = {
enable = true;
};
};
nixvimInjections = true;
};
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;
};
};
}