nixos-config/overlays/neovim.nix

25 lines
542 B
Nix
Raw Normal View History

2018-05-17 20:44:04 +02:00
self: super:
{
neovim = super.neovim.override {
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set shiftwidth=2
set softtabstop=2
set expandtab
set background=dark
2018-06-07 17:05:51 +02:00
let g:deoplete#enable_at_startup = 1
2018-05-17 20:44:04 +02:00
'';
packages.myVimPackage = with super.vimPlugins; {
start = [
vim-startify airline sensible
polyglot ale fugitive
2018-06-07 17:05:51 +02:00
deoplete-nvim
2018-05-17 20:44:04 +02:00
];
opt = [ ];
};
};
};
}