nix-config/users/tacocat/neovim/default.nix
2024-02-22 21:16:38 -05:00

51 lines
934 B
Nix

{
pkgs,
lib,
...
}: {
programs.nixvim = {
enable = true;
colorschemes.nord = {
enable = true;
borders = true;
contrast = true;
};
clipboard = {
providers.wl-copy.enable = true;
register = "unnamedplus";
};
options = {
number = true;
relativenumber = true;
tabstop = 2;
shiftwidth = 2;
expandtab = false;
scrolloff = 5;
autoindent = true;
smartindent = true;
copyindent = true;
signcolumn = "yes";
cursorline = true;
showmode = false;
};
plugins = {
lightline = {
enable = true;
colorscheme = "nord";
};
gitsigns = {
enable = true;
};
treesitter = {
enable = true;
nixvimInjections = true;
};
};
# filetype.extension = {
# ".md" = ''
# vim.bo.spell = true
# '';
# };
};
}