vimPlugins: assign original name to pname

instead of the normalized_name.

there is no need to rename the plugin ?! and it can upset packages for instance packer.nvim generates a config/nvim/plugin/packer_compiled.lua that does vim.api.nvim_command('packadd packer.nvim') which doesnt work on nixpkgs since the "packer.nvim" folder is renamed to "packer-nvim
wip/nixpkgs-raku
Matthieu Coudron 3 years ago
parent 0a913855a1
commit 3257b73c94
  1. 2
      pkgs/misc/vim-plugins/update.py

@ -66,7 +66,7 @@ class VimEditor(pluginupdate.Editor):
f.write(textwrap.indent(textwrap.dedent(
f"""
{plugin.normalized_name} = buildVimPluginFrom2Nix {{
pname = "{plugin.normalized_name}";
pname = "{plugin.name}";
version = "{plugin.version}";
src = fetchFromGitHub {{
owner = "{owner}";

Loading…
Cancel
Save