Skip to content

Commit d9c95d5

Browse files
josh-greefmoo
authored andcommitted
Update editor.py
Add default args for using vscode
1 parent 3cc3036 commit d9c95d5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def get_editor_args(editor):
4646

4747
elif editor == 'nano':
4848
return ['-R']
49+
50+
elif editor == 'code':
51+
return ["-w", "-n"]
4952

5053
else:
5154
return []

0 commit comments

Comments
 (0)