plugin

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	govim.Govim
	// contains filtered or unexported fields
}

func NewDriver

func NewDriver(name string) Driver

func (Driver) ChannelCall

func (d Driver) ChannelCall(name string, args ...interface{}) json.RawMessage

func (Driver) ChannelEx

func (d Driver) ChannelEx(expr string)

func (Driver) ChannelExf

func (d Driver) ChannelExf(format string, args ...interface{})

func (Driver) ChannelExpr

func (d Driver) ChannelExpr(expr string) json.RawMessage

func (Driver) ChannelExprf

func (d Driver) ChannelExprf(format string, args ...interface{}) json.RawMessage

func (Driver) ChannelNormal

func (d Driver) ChannelNormal(expr string)

func (Driver) ChannelRedraw

func (d Driver) ChannelRedraw(force bool)

func (Driver) DefineAutoCommand

func (d Driver) DefineAutoCommand(group string, events govim.Events, patts govim.Patterns, nested bool, f DriverAutoCommandFunction, exprs ...string)

func (Driver) DefineCommand

func (d Driver) DefineCommand(name string, f DriverCommandFunction, attrs ...govim.CommAttr)

func (Driver) DefineFunction

func (d Driver) DefineFunction(name string, args []string, f DriverFunction)

func (Driver) DefineRangeFunction

func (d Driver) DefineRangeFunction(name string, args []string, f DriverRangeFunction)

func (Driver) Errorf

func (d Driver) Errorf(format string, args ...interface{})

func (Driver) Parse

func (d Driver) Parse(j json.RawMessage, i interface{})

func (Driver) ParseInt

func (d Driver) ParseInt(j json.RawMessage) int

func (Driver) ParseJSONArgSlice

func (d Driver) ParseJSONArgSlice(j json.RawMessage) []json.RawMessage

func (Driver) ParseString

func (d Driver) ParseString(j json.RawMessage) string

func (Driver) ParseUint

func (d Driver) ParseUint(j json.RawMessage) uint

func (Driver) Prefix

func (d Driver) Prefix() string

func (Driver) Viewport added in v0.0.8

func (d Driver) Viewport() govim.Viewport

type DriverAutoCommandFunction

type DriverAutoCommandFunction func(args ...json.RawMessage) error

VimAutoCommandFunction is the signature of a callback from a defined autocmd

type DriverCommandFunction

type DriverCommandFunction func(flags govim.CommandFlags, args ...string) error

VimCommandFunction is the signature of a callback from a defined command

type DriverFunction

type DriverFunction func(args ...json.RawMessage) (interface{}, error)

VimFunction is the signature of a callback from a defined function

type DriverRangeFunction

type DriverRangeFunction func(line1, line2 int, args ...json.RawMessage) (interface{}, error)

DriverRangeFunction is the signature of a callback from a defined range-based function

type ErrDriver

type ErrDriver struct {
	Underlying error
}

func (ErrDriver) Error

func (e ErrDriver) Error() string

Jump to

Keyboard shortcuts

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