Skip to content

Instantly share code, notes, and snippets.

@LnL7
Last active September 2, 2018 12:03
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 LnL7/48b1770c087e48aee4e135a0ea9234b6 to your computer and use it in GitHub Desktop.
Save LnL7/48b1770c087e48aee4e135a0ea9234b6 to your computer and use it in GitHub Desktop.
self: super:
let
vim-jsx = super.vimUtils.buildVimPluginFrom2Nix {
name = "vim-javascript-2016-07-29";
src = super.fetchgit {
url = "git://github.com/mxw/vim-jsx";
rev = "261114c925ea81eeb4db1651cc1edced66d6b5d6";
sha256 = "17pffzwnvsimnnr4ql1qifdh4a0sqqsmcwfiqqzgglvsnzw5vpls";
};
dependencies = [];
};
in
{
lnl = super.lnl or {} // {
neovim = super.neovim.override {
configure = {
packages.foobar.start = with super.vimPlugins; [ sensible vim-jsx ];
customRC = ''
set number
'';
};
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment