writeLazyPluginDir: Avoid getName call on plugin before normalization.
This commit is contained in:
parent
7e72334fec
commit
bd20996cf1
1 changed files with 3 additions and 3 deletions
|
@ -181,10 +181,10 @@ rec {
|
||||||
writeLazyPluginDir =
|
writeLazyPluginDir =
|
||||||
plugin:
|
plugin:
|
||||||
let
|
let
|
||||||
# normalie plugin file name
|
normalizedPlugin = helpers.pluginNormalize plugin;
|
||||||
name = lib.replaceStrings [ "." ] [ "-" ] (helpers.getName (helpers.pluginWrapper plugin));
|
name = lib.replaceStrings [ "." ] [ "-" ] normalizedPlugin.name;
|
||||||
in
|
in
|
||||||
luaUtils.writeLuaFileDir "lua/lazyWrapper/plugins/${name}" (lazyPluginFile plugin);
|
luaUtils.writeLuaFileDir "lua/lazyWrapper/plugins/${name}" ''return ${luaUtils.setToLua normalizedPlugin}'';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Builds and configures the lazy plugin directory.
|
Builds and configures the lazy plugin directory.
|
||||||
|
|
Loading…
Reference in a new issue