Module api

Source
Expand description

Bindings to the Neovim C API.

Modules§

opts
Contains the *Opts structs representing the optional arguments passsed to Neovim API functions.
types
Contains various types given to and returned from Neovim API functions.

Structs§

Buffer
A wrapper around a Neovim buffer handle.
TabPage
A wrapper around a Neovim tab handle.
Window
A wrapper around a Neovim window handle.

Enums§

Error

Traits§

HlGroup
A trait implemented by types that can be converted to a highlight group ID.
IntoResult
A trait for types that can be converted into a Result.
SetExtmarkHlGroup
A trait implemented by types that can be passed to SetExtmarkOptsBuilder::hl_group.
StringOrFunction
A trait implemented by closures, Functions and strings.
StringOrInt
A trait implemented by strings and integers.
StringOrListOfStrings
A trait implemented by strings and list of strings.
SuperIterator
A super trait of most common traits implemented on iterators.
ToFunction
A trait implemented by closures and Functions.

Functions§

call_dict_function
Binding to nvim_call_dict_function().
call_function
Binding to nvim_call_function().
chan_send
Binding to nvim_chan_send().
clear_autocmds
Binding to nvim_clear_autocmds().
cmd
Binding to nvim_cmd().
command
Binding to nvim_command().
create_augroup
Binding to nvim_create_augroup().
create_autocmd
Binding to nvim_create_autocmd().
create_buf
Binding to nvim_create_buf().
create_namespace
Binding to nvim_create_namespace().
create_user_command
Binding to nvim_create_user_command().
del_augroup_by_id
Binding to nvim_del_augroup_by_id().
del_augroup_by_name
Binding to nvim_del_augroup_by_name().
del_autocmd
Binding to nvim_del_autocmd().
del_current_line
Binding to nvim_del_current_line().
del_keymap
Binding to nvim_del_keymap().
del_mark
Binding to nvim_del_mark().
del_user_command
Binding to nvim_del_user_command().
del_var
Binding to nvim_del_var().
echo
Binding to nvim_echo().
err_write
Binding to nvim_err_write().
err_writeln
Binding to nvim_err_writeln().
eval
Binding to nvim_eval().
eval_statusline
Binding to nvim_eval_statusline().
execDeprecated
Binding to nvim_exec().
exec2
Binding to nvim_exec2().
exec_autocmds
Binding to nvim_exec_autocmds().
feedkeys
Binding to nvim_feedkeys().
get_all_options_info
Binding to nvim_get_all_options_info().
get_autocmds
Binding to nvim_get_autocmds().
get_chan_info
Binding to nvim_get_chan_info().
get_color_by_name
Binding to nvim_get_color_by_name().
get_color_map
Binding to nvim_get_color_map().
get_commands
Binding to nvim_get_commands().
get_context
Binding to nvim_get_context().
get_current_buf
Binding to nvim_get_current_buf().
get_current_line
Binding to nvim_get_current_line().
get_current_tabpage
Binding to nvim_get_current_tabpage().
get_current_win
Binding to nvim_get_current_win().
get_hl
Binding to nvim_get_hl().
get_hl_by_idDeprecated
Binding to nvim_get_hl_by_id().
get_hl_by_nameDeprecated
Binding to nvim_get_hl_by_name().
get_hl_id_by_name
Binding to nvim_get_hl_id_by_name().
get_hl_ns
Binding to nvim_get_hl_ns().
get_keymap
Binding to nvim_get_keymap().
get_mark
Binding to nvim_get_mark().
get_mode
Binding to nvim_get_mode().
get_namespaces
Binding to nvim_get_namespaces().
get_optionDeprecated
Binding to nvim_get_option().
get_option_infoDeprecated
Binding to nvim_get_option_info().
get_option_info2
Binding to nvim_get_option_info2().
get_option_value
Binding to nvim_get_option_value().
get_proc
Binding to nvim_get_proc().
get_proc_children
Binding to nvim_get_proc_children().
get_runtime_file
Binding to nvim_get_runtime_file().
get_var
Binding to nvim_get_var().
get_vvar
Binding to nvim_get_vvar().
input
Binding to nvim_input().
input_mouse
Binding to nvim_input_mouse().
list_bufs
Binding to nvim_list_bufs().
list_chans
Binding to nvim_list_chans().
list_runtime_paths
Binding to nvim_list_runtime_paths().
list_tabpages
Binding to nvim_list_bufs().
list_uis
Binding to nvim_list_uis().
list_wins
Binding to nvim_list_wins().
load_context
Binding to nvim_load_context().
notify
Binding to nvim_notify().
open_term
Binding to nvim_open_term().
open_win
Binding to nvim_open_win().
out_write
Binding to nvim_out_write().
parse_cmd
Binding to nvim_parse_cmd().
parse_expression
Binding to nvim_parse_expression().
paste
Binding to nvim_paste().
put
Binding to nvim_put().
replace_termcodes
Binding to nvim_replace_termcodes().
select_popupmenu_item
Binding to nvim_select_popupmenu_item().
set_current_buf
Binding to nvim_set_current_buf().
set_current_dir
Binding to nvim_set_current_dir().
set_current_line
Binding to nvim_set_current_line().
set_current_tabpage
Binding to nvim_set_current_tabpage().
set_current_win
Binding to nvim_set_current_win().
set_decoration_provider
Binding to nvim_set_decoration_provider().
set_hl
Binding to nvim_set_hl().
set_hl_ns
Binding to nvim_set_hl_ns().
set_hl_ns_fast
Binding to nvim_set_hl_ns_fast().
set_keymap
Binding to nvim_set_keymap().
set_optionDeprecated
Binding to nvim_set_option().
set_option_value
Binding to nvim_set_option_value().
set_var
Binding to nvim_set_var().
set_vvar
Binding to nvim_set_vvar().
strwidth
Binding to nvim_strwidth().