Merge pull request #134050 from figsoda/fix-vim-update

vimPlugins: fix update script indentation

authored by Bernardo Meurer and committed by GitHub 66c42666 74593328

+13 -13
+13 -13
pkgs/misc/vim-plugins/update.py
··· 65 66 f.write(textwrap.indent(textwrap.dedent( 67 f""" 68 - {plugin.normalized_name} = buildVimPluginFrom2Nix {{ 69 - pname = "{plugin.normalized_name}"; 70 - version = "{plugin.version}"; 71 - src = fetchFromGitHub {{ 72 - owner = "{owner}"; 73 - repo = "{repo}"; 74 - rev = "{plugin.commit}"; 75 - sha256 = "{plugin.sha256}";{submodule_attr} 76 - }}; 77 - meta.homepage = "https://github.com/{owner}/{repo}/"; 78 - }}; 79 - """ 80 ), ' ')) 81 - f.write("\n}") 82 print(f"updated {outfile}") 83 84
··· 65 66 f.write(textwrap.indent(textwrap.dedent( 67 f""" 68 + {plugin.normalized_name} = buildVimPluginFrom2Nix {{ 69 + pname = "{plugin.normalized_name}"; 70 + version = "{plugin.version}"; 71 + src = fetchFromGitHub {{ 72 + owner = "{owner}"; 73 + repo = "{repo}"; 74 + rev = "{plugin.commit}"; 75 + sha256 = "{plugin.sha256}";{submodule_attr} 76 + }}; 77 + meta.homepage = "https://github.com/{owner}/{repo}/"; 78 + }}; 79 + """ 80 ), ' ')) 81 + f.write("\n}\n") 82 print(f"updated {outfile}") 83 84