mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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
This commit is contained in:
parent
0a913855a1
commit
3257b73c94
@ -66,7 +66,7 @@ class VimEditor(pluginupdate.Editor):
|
|||||||
f.write(textwrap.indent(textwrap.dedent(
|
f.write(textwrap.indent(textwrap.dedent(
|
||||||
f"""
|
f"""
|
||||||
{plugin.normalized_name} = buildVimPluginFrom2Nix {{
|
{plugin.normalized_name} = buildVimPluginFrom2Nix {{
|
||||||
pname = "{plugin.normalized_name}";
|
pname = "{plugin.name}";
|
||||||
version = "{plugin.version}";
|
version = "{plugin.version}";
|
||||||
src = fetchFromGitHub {{
|
src = fetchFromGitHub {{
|
||||||
owner = "{owner}";
|
owner = "{owner}";
|
||||||
|
Loading…
Reference in New Issue
Block a user