Skip to content

Commit 2a550c6

Browse files
committed
Status as of 26-01
1 parent e761923 commit 2a550c6

File tree

1 file changed

+4
-3
lines changed
  • rplugin/python3/acid/commands

1 file changed

+4
-3
lines changed

rplugin/python3/acid/commands/new.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ class Command(BaseCommand):
99

1010
name = 'NewFile'
1111
priority = 0
12-
nargs = 1
13-
prompt = 1
14-
handlers = []
12+
nargs=1
13+
prompt=1
14+
handlers = {'Ignore': ''}
1515
mapping = '<leader>N'
1616

1717
@staticmethod
@@ -26,6 +26,7 @@ def prepare_payload(self, ns):
2626
open_with = self.nvim.vars.get('acid_open_new_file_with', 'edit')
2727
path = os.path.join(current_path(self.nvim), base, fname)
2828
directory = os.path.dirname(path)
29+
2930
if not os.path.exists(directory):
3031
os.makedirs(directory)
3132

0 commit comments

Comments
 (0)