Skip to content

Instantly share code, notes, and snippets.

@sdorminey
Created April 12, 2019 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdorminey/387e4cf2c92eb4a25d759e082f010bf6 to your computer and use it in GitHub Desktop.
Save sdorminey/387e4cf2c92eb4a25d759e082f010bf6 to your computer and use it in GitHub Desktop.
Neovim config
{ 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