mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
modules/wrapper: make all wrapper features configurable
following features have been made configurable `withRuby`, `withNodeJs`, `withPython3` and `python3Packages`
This commit is contained in:
parent
d9a984bf6f
commit
7647353c40
2 changed files with 32 additions and 3 deletions
|
@ -83,6 +83,7 @@ inputs: {
|
|||
plugins = builtStartPlugins ++ builtOptPlugins;
|
||||
|
||||
extraLuaPackages = ps: map (x: ps.${x}) vimOptions.luaPackages;
|
||||
extraPython3Packages = ps: map (x: ps.${x}) vimOptions.python3Packages;
|
||||
|
||||
# wrap user's desired neovim package using the neovim wrapper from nixpkgs
|
||||
# the wrapper takes the following arguments:
|
||||
|
@ -95,8 +96,8 @@ inputs: {
|
|||
# - customRC (string)
|
||||
# and returns the wrapped package
|
||||
neovim-wrapped = wrapNeovimUnstable vimOptions.package (makeNeovimConfig {
|
||||
inherit (vimOptions) viAlias vimAlias;
|
||||
inherit plugins extraLuaPackages;
|
||||
inherit (vimOptions) viAlias vimAlias withRuby withNodeJs withPython3;
|
||||
inherit plugins extraLuaPackages extraPython3Packages;
|
||||
customRC = vimOptions.builtConfigRC;
|
||||
});
|
||||
in {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue