Module opts

Source
Expand description

Contains the *Opts structs representing the optional arguments passsed to Neovim API functions.

Structs§

BufAttachOpts
Options passed to Buffer::attach.
BufAttachOptsBuilder
Builder for BufAttachOpts.
BufDeleteOpts
Options passed to Buffer::delete.
BufDeleteOptsBuilder
Builder for BufDeleteOpts.
ClearAutocmdsOpts
Options passed to api::clear_autocmds.
ClearAutocmdsOptsBuilder
Builder for ClearAutocmdsOpts.
CmdOpts
Options passed to api::cmd.
CmdOptsBuilder
Builder for CmdOpts.
CreateAugroupOpts
Options passed to crate::api::create_augroup.
CreateAugroupOptsBuilder
Builder for CreateAugroupOpts.
CreateAutocmdOpts
Options passed to crate::create_autocmd.
CreateAutocmdOptsBuilder
Builder for CreateAutocmdOpts.
CreateCommandOpts
Options passed to Buffer::create_user_command.
CreateCommandOptsBuilder
Builder for CreateCommandOpts.
DecorationProviderOpts
Options passed to nvim_oxi::api::set_decoration_provider.
DecorationProviderOptsBuilder
Builder for DecorationProviderOpts.
EvalStatuslineOpts
Options passed to api::eval_statusline.
EvalStatuslineOptsBuilder
Builder for EvalStatuslineOpts.
ExecAutocmdsOpts
Options passed to api::exec_autocmds.
ExecAutocmdsOptsBuilder
Builder for ExecAutocmdsOpts.
GetAutocmdsOpts
Options passed to nvim_oxi::api::get_autocmds.
GetAutocmdsOptsBuilder
Builder for GetAutocmdsOpts.
GetCommandsOpts
Options passed to Buffer::get_commands and get_commands.
GetCommandsOptsBuilder
Builder for GetCommandsOpts.
GetContextOpts
Options passed to api::get_context.
GetContextOptsBuilder
Builder for GetContextOpts.
GetExtmarkByIdOpts
Options passed to Buffer::get_extmark_by_id.
GetExtmarkByIdOptsBuilder
Builder for GetExtmarkByIdOpts.
GetExtmarksOpts
Options passed to Buffer::get_extmarks.
GetExtmarksOptsBuilder
Builder for GetExtmarksOpts.
GetMarkOpts
Options passed to api::get_mark. Currently unused.
GetMarkOptsBuilder
Builder for GetMarkOpts.
GetTextOpts
Options passed to Buffer::get_text. Currently unused.
GetTextOptsBuilder
Builder for GetTextOpts.
NotifyOpts
Options passed to notify. Currently unused.
NotifyOptsBuilder
Builder for NotifyOpts.
OpenTermOpts
OpenTermOptsBuilder
Builder for OpenTermOpts.
OptionValueOpts
Options passed to nvim_oxi::api::set_option_value.
OptionValueOptsBuilder
Builder for OptionValueOpts.
SelectPopupMenuItemOpts
Options passed to api::select_popupmenu_item. Currently unused.
SelectPopupMenuItemOptsBuilder
Builder for SelectPopupMenuItemOpts.
SetExtmarkOpts
SetExtmarkOptsBuilder
SetHighlightOpts
Options passed to nvim_oxi::api::set_hl.
SetHighlightOptsBuilder
Builder for SetHighlightOpts.
SetKeymapOpts
Options passed to Buffer::set_keymap and api::set_keymap.
SetKeymapOptsBuilder
Builder for SetKeymapOpts.

Enums§

BufAttachOptsBuilderError
Error type for BufAttachOptsBuilder
BufDeleteOptsBuilderError
Error type for BufDeleteOptsBuilder
ClearAutocmdsOptsBuilderError
Error type for ClearAutocmdsOptsBuilder
CmdOptsBuilderError
Error type for CmdOptsBuilder
CreateAugroupOptsBuilderError
Error type for CreateAugroupOptsBuilder
CreateAutocmdOptsBuilderError
Error type for CreateAutocmdOptsBuilder
CreateCommandOptsBuilderError
Error type for CreateCommandOptsBuilder
DecorationProviderOptsBuilderError
Error type for DecorationProviderOptsBuilder
EvalStatuslineOptsBuilderError
Error type for EvalStatuslineOptsBuilder
ExecAutocmdsOptsBuilderError
Error type for ExecAutocmdsOptsBuilder
GetAutocmdsOptsBuilderError
Error type for GetAutocmdsOptsBuilder
GetCommandsOptsBuilderError
Error type for GetCommandsOptsBuilder
GetContextOptsBuilderError
Error type for GetContextOptsBuilder
GetExtmarkByIdOptsBuilderError
Error type for GetExtmarkByIdOptsBuilder
GetExtmarksOptsBuilderError
Error type for GetExtmarksOptsBuilder
GetMarkOptsBuilderError
Error type for GetMarkOptsBuilder
GetTextOptsBuilderError
Error type for GetTextOptsBuilder
NotifyOptsBuilderError
Error type for NotifyOptsBuilder
OpenTermOptsBuilderError
Error type for OpenTermOptsBuilder
OptionScope
OptionValueOptsBuilderError
Error type for OptionValueOptsBuilder
SelectPopupMenuItemOptsBuilderError
Error type for SelectPopupMenuItemOptsBuilder
SetHighlightOptsBuilderError
Error type for SetHighlightOptsBuilder
SetKeymapOptsBuilderError
Error type for SetKeymapOptsBuilder

Type Aliases§

DontSkipOnLines
The on_win callback can return false to skip the on_line callback for that window.
DontSkipRedrawCycle
The on_start callback can return false to disable the provider until the next redraw.
OnBufArgs
Arguments passed to the function registered to on_buf.
OnBytesArgs
Arguments passed to the callback registered to on_bytes. The (a, b, c, d, e, f, g, h, i, j, k, l)
OnChangedtickArgs
Arguments passed to the callback registered to on_changedtick. The first tuple element is the string literal "changedtick", the second is the Buffer that triggered the callback and the third is current value of the buffer-local b:changedtick variable.
OnDetachArgs
Arguments passed to the callback registered to on_detach. The first tuple element is the string literal "detach", the second is the Buffer that triggered the callback.
OnEndArgs
Arguments passed to the function registered to on_end.
OnInputArgs
Arguments passed to the callback registered to on_input. The (a, b, c, d) tuple represents:
OnLineArgs
Arguments passed to the function registered to on_line.
OnLinesArgs
Arguments passed to the callback registered to on_lines. The (a, b, c, d, e, f, g, h, i) tuple represents:
OnReloadArgs
Arguments passed to the callback registered to on_reload. The first tuple element is the string literal "reload", the second is the Buffer that triggered the callback.
OnStartArgs
Arguments passed to the function registered to on_start.
OnWinArgs
Arguments passed to the function registered to on_win.
ShouldDeleteAutocmd
ShouldDetach
All the registered callbacks can detach by returning true, as described in :h api-lua-detach.