From c8d9aa5a8642bf06b9ec4d08350a33a6166cd589 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Thu, 17 May 2018 20:44:04 +0200 Subject: [PATCH] Plugins neovim --- configuration.nix | 1 + overlays/neovim.nix | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 overlays/neovim.nix diff --git a/configuration.nix b/configuration.nix index 1d242e3..053f70d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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) ]; diff --git a/overlays/neovim.nix b/overlays/neovim.nix new file mode 100644 index 0000000..48d8531 --- /dev/null +++ b/overlays/neovim.nix @@ -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 = [ ]; + }; + }; + }; +}