32 lines
483 B
Nix
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;
|
|
};
|
|
}
|