22 lines
421 B
Nix
22 lines
421 B
Nix
{ callPackage, wrapNeovim, neovim-unwrapped, vimPlugins, ... }:
|
|
|
|
let
|
|
lib = import ./lib.nix;
|
|
|
|
plugins = [
|
|
(callPackage ./syntax { })
|
|
];
|
|
|
|
in
|
|
wrapNeovim neovim-unwrapped {
|
|
withPython3 = false;
|
|
withNodeJs = false;
|
|
withRuby = false;
|
|
|
|
configure = {
|
|
customRC = lib.mkLuaRc (lib.extractAttrs "luaConfig" plugins);
|
|
|
|
packages.myVimPackages =
|
|
{ start = lib.extractAttrs "plugins" plugins; };
|
|
};
|
|
}
|