Documentation ¶
Index ¶
- type Nimvle
- func (n *Nimvle) CurrentBufferFilenameExtension() (string, error)
- func (n *Nimvle) Eval(exp string) (interface{}, error)
- func (n *Nimvle) GetContentFromBuffer(buf nvim.Buffer) (string, error)
- func (n *Nimvle) GetContentFromCurrentBuffer() (string, error)
- func (n *Nimvle) GetVar(varname string) (interface{}, error)
- func (n *Nimvle) GetWindowList() (map[string]int, error)
- func (n *Nimvle) Input(ask string) (string, error)
- func (n *Nimvle) Log(message interface{}) error
- func (n *Nimvle) NewScratchBuffer(bufferName, ft string) (*nvim.Buffer, error)
- func (n *Nimvle) SetContentToBuffer(buf nvim.Buffer, content string) error
- func (n *Nimvle) SetStringerContentToBuffer(buf nvim.Buffer, str fmt.Stringer) error
- func (n *Nimvle) ShowScratchBuffer(scratch nvim.Buffer, str fmt.Stringer) error
- func (n *Nimvle) SplitOpenBuffer(buf nvim.Buffer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nimvle ¶
type Nimvle struct {
// contains filtered or unexported fields
}
Nimvle provides nvim methods around the nvim.Nvim interface.
func (*Nimvle) CurrentBufferFilenameExtension ¶
CurrentBufferFilenameExtension obtains the file name extension of the current buffer.
func (*Nimvle) GetContentFromBuffer ¶
GetContentFromBuffer obtains the content of the buffer.
func (*Nimvle) GetContentFromCurrentBuffer ¶
GetContentFromCurrentBuffer obtains the content of the current buffer.
func (*Nimvle) GetWindowList ¶
GetWindowList obtains window list. It depends on `NoahOrberg/vivid.vim`
func (*Nimvle) NewScratchBuffer ¶
NewScratchBuffer creates new scratch buffer.
func (*Nimvle) SetContentToBuffer ¶
SetContentToBuffer writes content to buffer.
func (*Nimvle) SetStringerContentToBuffer ¶
SetStringerContentToBuffer writes stringer content to buffer.
func (*Nimvle) ShowScratchBuffer ¶
ShowScratchBuffer shows selected buffer.
Click to show internal directories.
Click to hide internal directories.