nixos-configuration/modules/editors/nixvim/options.nix
2025-03-21 02:00:29 +01:00

23 lines
427 B
Nix
Executable file

{...}: {
programs.nixvim.opts = {
number = true;
relativenumber = true;
nuw = 1;
scrolloff = 8;
signcolumn = "yes";
termguicolors = true;
# undodir = lib.concatStrings [ xdg.stateHome "nvim/undodir" ];
undofile = true;
ignorecase = true;
smartcase = true;
cmdheight = 1;
smarttab = true;
expandtab = true;
shiftwidth = 2;
tabstop = 2;
softtabstop = 2;
};
}