Fix issue with tabnew forwarding args to tabedit
This commit is contained in:
parent
cd4fb6f359
commit
4424eec4cc
1 changed files with 3 additions and 3 deletions
|
|
@ -127,11 +127,11 @@ class Ex
|
|||
|
||||
tabe: (args) => @tabedit(args)
|
||||
|
||||
tabnew: ({ range, args }) =>
|
||||
if args.trim() is ''
|
||||
tabnew: (args) =>
|
||||
if args.args.trim() is ''
|
||||
atom.workspace.open()
|
||||
else
|
||||
@tabedit(range, args)
|
||||
@tabedit(args)
|
||||
|
||||
tabclose: (args) => @quit(args)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue