System/home-manager/modules/programs/neovim.nix
2024-11-28 03:31:44 +00:00

32 lines
483 B
Nix

{
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;
};
}