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)
|
tabe: (args) => @tabedit(args)
|
||||||
|
|
||||||
tabnew: ({ range, args }) =>
|
tabnew: (args) =>
|
||||||
if args.trim() is ''
|
if args.args.trim() is ''
|
||||||
atom.workspace.open()
|
atom.workspace.open()
|
||||||
else
|
else
|
||||||
@tabedit(range, args)
|
@tabedit(args)
|
||||||
|
|
||||||
tabclose: (args) => @quit(args)
|
tabclose: (args) => @quit(args)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue