vimPlugins: use lib.getName instead of plugin.pname

This commit is contained in:
hqurve 2021-09-18 06:56:23 -04:00
parent 833fea8991
commit 2b9f9efeec

@ -198,8 +198,8 @@ let
'';
linkVimlPlugin = plugin: packageName: dir: ''
mkdir -p $out/pack/${packageName}/${dir}/${plugin.pname}
ln -sf ${plugin}/${rtpPath}/* $out/pack/${packageName}/${dir}/${plugin.pname}
mkdir -p $out/pack/${packageName}/${dir}/${lib.getName plugin}
ln -sf ${plugin}/${rtpPath}/* $out/pack/${packageName}/${dir}/${lib.getName plugin}
'';
link = pluginPath: if hasLuaModule pluginPath