Neovim module

This commit is contained in:
Nathan McCarty 2024-11-28 03:10:32 +00:00
parent 5b1b97b8b6
commit d94e4cef3b
2 changed files with 32 additions and 0 deletions

View file

@ -21,6 +21,7 @@
{ {
imports = [ imports = [
../../modules/programs/shell.nix ../../modules/programs/shell.nix
../../modules/programs/neovim.nix
]; ];
home.username = "nathan"; home.username = "nathan";
home.homeDirectory = "/home/nathan/"; home.homeDirectory = "/home/nathan/";

View file

@ -0,0 +1,31 @@
{
config,
lib,
pkgs,
...
}:
{
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
vim-nix
airline
{
plugin = onehalf;
config = ''
colorscheme onehalfdark
let g:airline_theme='onehalflight'
'';
}
vim-autoformat
vim-surround
];
extraLuaConfig = ''
vim.o.termguicolors = true
'';
withPython3 = true;
};
}