Expand description
This module contains the bindings to the Neovim
API, exposed in Lua through the
vim.api
table.
Naming convention
All the functions have been renamed by dropping the leading nvim_
prefix,
e.g. nvim_get_current_buf
simply becomes get_current_buf
.
Also, the functions starting with nvim_buf_*
, nvim_win_*
and
nvim_tabpage_*
are implemented as methods on the Buffer
, Window
and TabPage
objects respectively.
Modules
Contains the
*Opts
structs representing the optional arguments
passsed to Neovim API functions.Contains various types given to and returned from Neovim API functions.
Structs
A wrapper around a Neovim buffer handle.
A wrapper around a Neovim tab handle.
A wrapper around a Neovim window handle.
Enums
Traits
A Rust closure, a
Function
or a string.A string or an integer.
A string or a list of strings.
A Rust closure or a
Function
.Functions
Binding to
nvim_call_dict_function
.Binding to
nvim_call_function
.Binding to
nvim_chan_send
.Binding to
nvim_clear_autocmds
.Binding to
nvim_command
.Binding to
nvim_create_augroup
.Binding to
nvim_create_autocmd
.Binding to
nvim_create_buf
.Binding to
nvim_create_namespace
.Binding to
nvim_create_user_command
.Binding to
nvim_del_augroup_by_id
.Binding to
nvim_del_augroup_by_name
.Binding to
nvim_del_autocmd
.Binding to
nvim_del_current_line
.Binding to
nvim_del_keymap
.Binding to
nvim_del_mark
.Binding to
nvim_del_user_command
.Binding to
nvim_del_var
.Binding to
nvim_err_write
.Binding to
nvim_err_writeln
.Binding to
nvim_eval_statusline
.Binding to
nvim_exec_autocmds
.Binding to
nvim_feedkeys
.Binding to
nvim_get_all_options_info
.Binding to
nvim_get_autocmds
.Binding to
nvim_get_chan_info
.Binding to
nvim_get_color_by_name
.Binding to
nvim_get_color_map
.Binding to
nvim_get_commands
.Binding to
nvim_get_context
.Binding to
nvim_get_current_buf
.Binding to
nvim_get_current_line
.Binding to
nvim_get_current_tabpage
.Binding to
nvim_get_current_win
.Binding to
nvim_get_hl_by_id
.Binding to
nvim_get_hl_by_name
.Binding to
nvim_get_hl_id_by_name
.Binding to
nvim_get_keymap
.Binding to
nvim_get_mark
.Binding to
nvim_get_mode
.Binding to
nvim_get_namespaces
.Binding to
nvim_get_option
.Binding to
nvim_get_option_info
.Binding to
nvim_get_option_value
.Binding to
nvim_get_proc
.Binding to
nvim_get_proc_children
.Binding to
nvim_get_runtime_file
.Binding to
nvim_get_var
.Binding to
nvim_get_vvar
.Binding to
nvim_input
.Binding to
nvim_input_mouse
.Binding to
nvim_list_bufs
.Binding to
nvim_list_chans
.Binding to
nvim_list_runtime_paths
.Binding to
nvim_list_bufs
.Binding to
nvim_list_uis
.Binding to
nvim_list_wins
.Binding to
nvim_load_context
.Binding to
nvim_notify
.Binding to
nvim_open_term
.Binding to
nvim_open_win
.Binding to
nvim_out_write
.Binding to
nvim_parse_expression
.Binding to
nvim_paste
.Binding to
nvim_replace_termcodes
.Binding to
nvim_select_popupmenu_item
.Binding to
nvim_set_current_buf
.Binding to
nvim_set_current_dir
.Binding to
nvim_set_current_line
.Binding to
nvim_set_current_tabpage
.Binding to
nvim_set_current_win
.Binding to
nvim_set_hl
.Binding to
nvim_set_keymap
.Binding to
nvim_set_option
.Binding to
nvim_set_option_value
.Binding to
nvim_set_var
.Binding to
nvim_set_vvar
.Binding to
nvim_strwidth
.