forked from nyanloutre/nixos-config
Plugins neovim
This commit is contained in:
parent
69c58eb73e
commit
c8d9aa5a86
2 changed files with 23 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
(import ./overlays/lidarr.nix)
|
||||
(import ./overlays/organizr.nix)
|
||||
(import ./overlays/sudo.nix)
|
||||
(import ./overlays/neovim.nix)
|
||||
(import ./overlays/site-max.nix)
|
||||
(import ./overlays/site-musique.nix)
|
||||
];
|
||||
|
|
22
overlays/neovim.nix
Normal file
22
overlays/neovim.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
self: super:
|
||||
{
|
||||
neovim = super.neovim.override {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
customRC = ''
|
||||
set shiftwidth=2
|
||||
set softtabstop=2
|
||||
set expandtab
|
||||
set background=dark
|
||||
'';
|
||||
packages.myVimPackage = with super.vimPlugins; {
|
||||
start = [
|
||||
vim-startify airline sensible
|
||||
polyglot ale fugitive
|
||||
];
|
||||
opt = [ ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue