stub

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package stub implements the stub addon, a general-purpose addon that shows a modeline and supports pluggable binding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(app cli.App, cfg Config)

Start starts the stub addon.

Types

type Config

type Config struct {
	// Keybinding.
	Binding cli.Handler
	// Name to show in the modeline.
	Name string
	// Whether the addon widget gets the focus.
	Focus bool
}

Config keeps the configuration for the stub addon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL