aboutsummaryrefslogtreecommitdiffstats
path: root/commands/next-tab.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/next-tab.go')
-rw-r--r--commands/next-tab.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/next-tab.go b/commands/next-tab.go
index f1f34d22..adab95ae 100644
--- a/commands/next-tab.go
+++ b/commands/next-tab.go
@@ -9,7 +9,11 @@ type NextPrevTab struct {
}
func init() {
- register(NextPrevTab{})
+ Register(NextPrevTab{})
+}
+
+func (NextPrevTab) Context() CommandContext {
+ return GLOBAL
}
func (NextPrevTab) Aliases() []string {