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

41 lines
819 B
Nix
Raw Normal View History

2024-02-15 18:22:30 +00:00
{pkgs, lib, ...}: {
2024-02-10 15:23:56 +00:00
programs.nixvim = {
enable = true;
colorschemes.base16 = {
enable = true;
2024-02-15 04:04:29 +00:00
colorscheme = "blueish";
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;
2024-02-15 18:22:30 +00:00
colorscheme = lib.mkForce "solarized";
2024-02-14 01:09:30 +00:00
};
gitsigns = {
enable = true;
};
treesitter = {
enable = true;
nixvimInjections = true;
};
2024-02-10 15:23:56 +00:00
};
};
}