# README
neovim
Experimental neovim SDK for go.
Examples
func main() {
neovim.Register(&plugin{})
}
func plugin struct {}
func (p *plugin) Register(api novim.RegisterApi) {
api.Function("Hello", func() {
api.Out.Messagef("Hallo %s!", "Welt")
})
}
License
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
follow the global 'hidden' option.
the buffer from the buffer list, also when 'hidden' is set or using :hide, like using :bdelete.
hide the buffer (don't unload it), also when 'hidden' is not set.
the buffer, also when 'hidden' is set or using :hide.
out the buffer from the buffer list, also when 'hidden' is set or using :hide, like using :bwipeout.
string.
string.
bool? "no".
"".
bool.
bool.
bool.
bool.
bool.
string.
buffer will always be written with |BufWriteCmd|s.
normal buffer.
help buffer (do not set this manually).
buffer is not related to a file, will not be written.
buffer will not be written.
list of errors |:cwindow| or locations |:lwindow.
|terminal-emulator| buffer.
just after adding a buffer to the buffer list.
just after adding a buffer to the buffer list.
before deleting a buffer from the buffer list.
after entering a buffer.
after changing the name of the current buffer.
before changing the name of the current buffer.
just after a buffer has become hidden.
before leaving to another buffer.
just after creating a new buffer.
starting to edit a file that doesn't exist.
starting to edit a new buffer, after reading the file.
before starting to edit a new buffer |Cmd-event|.
starting to edit a new buffer, after reading the file.
starting to edit a new buffer, before reading the file.
before unloading a buffer.
after a buffer is displayed in a window.
before a buffer is removed from a window.
before completely deleting a buffer.
starting to write the whole buffer to a file.
before writing the whole buffer to a file |Cmd-event|.
after writing the whole buffer to a file.
starting to write the whole buffer to a file.
after a channel has its state changed.
after a channel opened.
after a change was made to the command-line text.
after entering cmdline mode.
before leaving cmdline mode.
a user command is used but it isn't defined.
after entering the command-line window.
before leaving the command-line window.
after loading a color scheme.
before loading a color scheme.
after popup menu changed, not fired on popup menu hide.
after Insert mode completion is done.
the user doesn't press a key for a while.
the user doesn't press a key for a while in Insert mode.
the cursor was moved in Normal mode.
the cursor was moved in Insert mode.
after diffs have been updated.
after the |current-directory| was changed.
when using a command that may make Vim exit.
before appending to a file |Cmd-event|.
after appending to a file.
starting to append to a file.
before making the first change to a read-only file.
Vim notices that a file changed since editing started.
after handling a file changed since editing started.
before reading a file with a ":read" command |Cmd-event|.
after reading a file with a ":read" command.
before reading a file with a ":read" command.
Options when the 'filetype' option has been set.
before writing part of a buffer to a file |Cmd-event|.
after writing part of a buffer to a file.
starting to write part of a buffer to a file.
after reading a file from a filter command.
before reading a file from a filter command.
after writing a file for a filter command or diff.
starting to write a file for a filter command or diff.
Nvim got focus.
Nvim lost focus.
a user function is used but it isn't defined.
when typing <Insert> while in Insert or Replace mode.
when a character was typed in Insert mode, before inserting it.
starting Insert mode.
when leaving Insert mode.
just before showing the popup menu.
after setting any option.
after a quickfix command is run.
before a quickfix command is run.
when using `:quit`, before deciding whether to exit.
a reply from a server Vim was received.
after loading a session file.
after executing a shell command.
after filtering with a shell command.
after Nvim receives a signal.
before sourcing a Vim script |Cmd-event|.
after sourcing a Vim script.
before sourcing a Vim script.
a spell file is used but it can't be found.
After reading from the stdin into the buffer.
before reading from stdin into the buffer.
detected an existing swap file.
when the 'syntax' option has been set.
after closing a tab page.
after entering another tab page.
before leaving a tab page.
when creating a new tab page.
after entering a new tab page.
stopping a terminal job.
entering Terminal-mode.
leaving Terminal-mode.
starting a terminal job.
after the terminal response to t_RV is received.
after a change was made to the text in Normal mode.
after a change was made to the text in Insert mode when popup menu is not visible.
after a change was made to the text in Insert mode when popup menu visible.
when some text is yanked or deleted.
after a UI attaches.
after a UI detaches.
to be used in combination with ":doautocmd".
Startup and exit after doing all the startup stuff.
before exiting Nvim, after writing the shada file.
before exiting Nvim, before writing the shada file.
after the Vim window size changed.
after Nvim is resumed.
before Nvim is suspended.
after entering another window.
before leaving a window.
after creating a new window.
No description provided by the author
No description provided by the author
When included, Vim will use the clipboard register '*' for all yank, delete, change and put operations which would normally go to the unnamed register.
A variant of the "unnamed" flag which uses the clipboard register '+' (|quoteplus|) instead of register '*' for all yank, delete, change and put operations which would normally go to the unnamed register.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
i Insert.
n Normal.
R Replace |R|.
t Terminal mode: keys go to the job.
v Visual by character.
V Visual by line.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fold text that is not changed.
'foldexpr' gives the fold level of a line.
Lines with equal indent form a fold.
Folds are created manually.
Markers are used to specify folds.
Syntax highlighting items specify folds.
string.
bool.
bool.
bool.
"0".
bool.
"manual".
bool.
bool.
bool.
string.
bool.
int.
bool.
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author