Created
April 12, 2019 04:23
-
-
Save sdorminey/387e4cf2c92eb4a25d759e082f010bf6 to your computer and use it in GitHub Desktop.
Neovim config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
with pkgs; | |
let | |
# Extra Vim plugins: | |
vim-elvish = vimUtils.buildVimPlugin { | |
name = "vim-elvish"; | |
version = "2017-07-28T15:37:21-04:00"; | |
src = fetchFromGitHub { | |
owner = "dmix"; | |
repo = "elvish.vim"; | |
rev = "0b50696cafdef69bfb5e4e39773a59a72e3851fa"; | |
sha256 = "1q9xik774w6sq8vpn10w8ji3qw2ql74712zq551d75ynsa7ldyy6"; | |
}; | |
}; | |
extras = { | |
inherit vim-elvish; | |
}; | |
in { | |
programs.neovim.enable = true; | |
programs.neovim.configure = { | |
customRC = (builtins.readFile ./config/vimrc); | |
vam.knownPlugins = vimPlugins // extras; | |
vam.pluginDictionaries = [ | |
{ name = "vim-polyglot"; } | |
{ name = "base16-vim"; } | |
{ name = "fugitive"; } | |
{ name = "vim-easymotion"; } | |
{ name = "nerdtree"; } | |
{ name = "spacevim"; } | |
{ name = "vim-airline"; } | |
{ name = "vim-airline-themes"; } | |
{ name = "vimproc"; } | |
{ name = "ale"; } | |
{ name = "vim-elvish"; } | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment