Versions in this module Expand all Collapse all v1 v1.7.0 Nov 18, 2026 Changes in this version + var ErrNotFound = errors.New("nvim not found") + var MinVersion = Version + var StartTimeout = 5 * time.Second + type Editor struct + func Start(o Options) (*Editor, error) + func (e *Editor) ApplyLines(seq int, edits []LineEdit) (bool, error) + func (e *Editor) Call(fn, args string) (string, error) + func (e *Editor) Close() error + func (e *Editor) Input(keys string) error + func (e *Editor) Mouse(button, action, mod string, row, col int) error + func (e *Editor) Paste(text string) error + func (e *Editor) Resize(cols, rows int) error + func (e *Editor) Saved() error + func (e *Editor) Snapshot() (string, int, error) + type Found struct + Path string + Version Version + func Find(path string) (Found, error) + type LineEdit struct + First int + Last int + Text string + type Lines struct + First int + Last int + Seq int + Text string + type Options struct + Clean bool + Cols int + Dark bool + Event func(name, data string) + Exit func(err error) + LSP []string + Lines func(Lines) + Name string + Path string + Redraw func(events [][]any) + Rows int + Text string + Write func(seq int) + type Version struct + Major int + Minor int + Patch int + func ReadVersion(path string) (Version, error) + func (v Version) Less(w Version) bool + func (v Version) String() string