From 4424eec4cc2a2c0542b3fbd000338983cfa4c662 Mon Sep 17 00:00:00 2001 From: Brendon Roberto Date: Thu, 16 Jun 2016 15:05:58 -0400 Subject: [PATCH] Fix issue with tabnew forwarding args to tabedit --- lib/ex.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ex.coffee b/lib/ex.coffee index c0ae5fd..c91beb7 100644 --- a/lib/ex.coffee +++ b/lib/ex.coffee @@ -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)