nix/home/neovim/default.nix

39 lines
767 B
Nix
Raw Normal View History

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;
2024-07-08 20:53:46 +02:00
# showmode = false;
2024-07-08 14:24:48 +02:00
};
};
}