Compare commits

..

No commits in common. "8162653c295da48c4f952e4ffbecdc73d734b6d5" and "4b17e14f846054a87a36ca8d799c800a858b6440" have entirely different histories.

2 changed files with 11 additions and 8 deletions

6
flake.lock generated
View file

@ -38,11 +38,11 @@
}, },
"mnw": { "mnw": {
"locked": { "locked": {
"lastModified": 1746338991, "lastModified": 1746230955,
"narHash": "sha256-GbyoHjf14LOxZQc+0NFblI4xf/uwGrYo3W8lwE4HcwI=", "narHash": "sha256-X32sM3RQ3X2y6PzfNnX3rhUAlhuITdDOdfSrwZXjlsQ=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "mnw", "repo": "mnw",
"rev": "c65407ee9387ef75985dad3e30f58c822c766ec1", "rev": "2a1678ba8e4807bd855dd0da94ea2bef5bca733d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -62,14 +62,17 @@
filter (f: f != null) plugins filter (f: f != null) plugins
); );
# built (or "normalized") plugins that are modified
builtStartPlugins = buildConfigPlugins config.vim.startPlugins;
builtOptPlugins = map (package: package // {optional = true;}) (
buildConfigPlugins config.vim.optPlugins
);
# Wrap the user's desired (unwrapped) Neovim package with arguments that'll be used to # Wrap the user's desired (unwrapped) Neovim package with arguments that'll be used to
# generate a wrapped Neovim package. # generate a wrapped Neovim package.
neovim-wrapped = inputs.mnw.lib.wrap {inherit pkgs;} { neovim-wrapped = inputs.mnw.lib.wrap pkgs {
neovim = config.vim.package; neovim = config.vim.package;
plugins = { plugins = builtStartPlugins ++ builtOptPlugins;
start = buildConfigPlugins config.vim.startPlugins;
opt = buildConfigPlugins config.vim.optPlugins;
};
appName = "nvf"; appName = "nvf";
extraBinPath = config.vim.extraPackages; extraBinPath = config.vim.extraPackages;
initLua = config.vim.builtLuaConfigRC; initLua = config.vim.builtLuaConfigRC;