Skip to content

Commit

Permalink
fix rename.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed Aug 5, 2023
1 parent 41add0f commit 380da6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

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:
Expand Down

0 comments on commit 380da6a

Please sign in to comment.