fix rename.py

This commit is contained in:
mathew 2023-08-05 16:32:58 +08:00
parent 41add0f7d1
commit 380da6a3e5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ if len(sys.argv) == 2:
choice = input("Do you want also remove example code in init.lua and test (y|n): ")
if choice.lower() == 'y':
with open(os.path.join(pdir, 'lua','nvim-plugin-template','init.lua'), 'w') as f:
with open(os.path.join(pdir, 'lua',new_name,'init.lua'), 'w') as f:
f.truncate()
with open(os.path.join(pdir, 'test','plugin_spec.lua'), 'w') as f: