System/home-manager/modules/programs/neovim.nix

32 lines
483 B
Nix
Raw Normal View History

2024-11-28 03:10:32 +00:00
{
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;
};
}