Documentation ¶
Index ¶
- type Driver
- func (d Driver) ChannelCall(name string, args ...interface{}) json.RawMessage
- func (d Driver) ChannelEx(expr string)
- func (d Driver) ChannelExf(format string, args ...interface{})
- func (d Driver) ChannelExpr(expr string) json.RawMessage
- func (d Driver) ChannelExprf(format string, args ...interface{}) json.RawMessage
- func (d Driver) ChannelNormal(expr string)
- func (d Driver) ChannelRedraw(force bool)
- func (d Driver) DefineAutoCommand(group string, events govim.Events, patts govim.Patterns, nested bool, ...)
- func (d Driver) DefineCommand(name string, f DriverCommandFunction, attrs ...govim.CommAttr)
- func (d Driver) DefineFunction(name string, args []string, f DriverFunction)
- func (d Driver) DefineRangeFunction(name string, args []string, f DriverRangeFunction)
- func (d Driver) Errorf(format string, args ...interface{})
- func (d Driver) Parse(j json.RawMessage, i interface{})
- func (d Driver) ParseInt(j json.RawMessage) int
- func (d Driver) ParseJSONArgSlice(j json.RawMessage) []json.RawMessage
- func (d Driver) ParseString(j json.RawMessage) string
- func (d Driver) ParseUint(j json.RawMessage) uint
- func (d Driver) Prefix() string
- func (d Driver) Viewport() govim.Viewport
- type DriverAutoCommandFunction
- type DriverCommandFunction
- type DriverFunction
- type DriverRangeFunction
- type ErrDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
func (Driver) ChannelCall ¶
func (d Driver) ChannelCall(name string, args ...interface{}) json.RawMessage
func (Driver) ChannelExf ¶
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 (Driver) ChannelRedraw ¶
func (Driver) DefineAutoCommand ¶
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) Parse ¶
func (d Driver) Parse(j json.RawMessage, i interface{})
func (Driver) ParseJSONArgSlice ¶
func (d Driver) ParseJSONArgSlice(j json.RawMessage) []json.RawMessage
func (Driver) ParseString ¶
func (d Driver) ParseString(j json.RawMessage) string
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
Click to show internal directories.
Click to hide internal directories.