nix-config/users/tacocat/neovim/default.nix

40 lines
768 B
Nix
Raw Normal View History

2024-02-10 15:23:56 +00:00
{pkgs, ...}: {
programs.nixvim = {
enable = true;
colorschemes.base16 = {
enable = true;
2024-02-12 20:25:30 +00:00
colorscheme = "darkmoss";
2024-02-10 15:23:56 +00:00
setUpBar = false;
};
clipboard = {
2024-02-14 01:09:30 +00:00
providers.wl-copy.enable = true;
register = "unnamedplus";
2024-02-10 15:23:56 +00:00
};
options = {
number = true;
relativenumber = true;
tabstop = 2;
shiftwidth = 2;
expandtab = false;
2024-02-14 01:09:30 +00:00
scrolloff = 5;
autoindent = true;
copyindent = true;
signcolumn = "yes";
cursorline = true;
showmode = false;
};
plugins = {
lightline = {
enable = true;
};
gitsigns = {
enable = true;
};
treesitter = {
enable = true;
nixvimInjections = true;
};
2024-02-10 15:23:56 +00:00
};
};
}