Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
nvim_buf_clear_highlight()
Use nvim_buf_clear_namespace() instead.
nvim_buf_set_virtual_text()
Use nvim_buf_set_extmark() instead.
nvim_command_output()
Use nvim_exec2() instead.
nvim_execute_lua()
Use nvim_exec_lua() instead.
nvim_get_hl_by_name()
Use nvim_get_hl() instead.
nvim_get_hl_by_id()
Use nvim_get_hl() instead.
nvim_exec()
Use nvim_exec2() instead.
nvim_get_option_info()
Use nvim_get_option_info2() instead.
nvim_buf_get_option()
Use nvim_get_option_value() instead.
nvim_buf_set_option()
Use nvim_set_option_value() instead.
nvim_get_option()
Use nvim_get_option_value() instead.
nvim_set_option()
Use nvim_set_option_value() instead.
nvim_win_get_option()
Use nvim_get_option_value() instead.
nvim_win_set_option()
Use nvim_set_option_value() instead.
call jobstart(['foo'], { 'env': { 'NVIM_LISTEN_ADDRESS': v:servername } })
EncodingChanged
Never fired; 'encoding' is always "utf-8".
FileEncoding
Never fired; equivalent to EncodingChanged.
GUIFailed
Never fired.
buffer_exists()
Obsolete name for bufexists().
buffer_name()
Obsolete name for bufname().
buffer_number()
Obsolete name for bufnr().
file_readable()
Obsolete name for filereadable().
highlight_exists()
Obsolete name for hlexists().
highlightID()
Obsolete name for hlID().
inputdialog()
Use input() instead.
jobclose()
Obsolete name for chanclose()
jobsend()
Obsolete name for chansend()
last_buffer_nr()
Obsolete name for bufnr("$").
hl-VertSplit
Use hl-WinSeparator instead.
vim.lsp.diagnostic.clear()
Use vim.diagnostic.hide() instead.
vim.lsp.diagnostic.display()
Use vim.diagnostic.show() instead.
vim.lsp.diagnostic.get_all()
Use vim.diagnostic.get() instead.
vim.lsp.diagnostic.get_count()
Use vim.diagnostic.get() instead.
vim.lsp.diagnostic.get_virtual_text_chunks_for_line()
No replacement. Use
options provided by vim.diagnostic.config() to customize virtual text.
vim.lsp.diagnostic.redraw()
Use vim.diagnostic.show() instead.
vim.lsp.diagnostic.save()
Use vim.diagnostic.set() instead.
vim.lsp.buf.server_ready()
Use LspAttach instead, depending on your use-case. "Server ready" is not
part of the LSP spec, so the Nvim LSP client cannot meaningfully implement
it. "Ready" is ambiguous because:
vim.lsp.util.set_qflist()
Use setqflist() instead.
vim.lsp.util.set_loclist()
Use setloclist() instead.
LanguageTree:for_each_child()
Use LanguageTree:children()
(non-recursive) instead.
vim.pretty_print()
Use vim.print() instead.
'langnoremap'
Deprecated alias to 'nolangremap'.
'viminfofile'
Deprecated alias to 'shadafile' option.
'paste'
'nopaste'
Just Paste It.™ The 'paste' option is obsolete:
paste is handled automatically when you paste text
using your terminal's or GUI's paste feature
(CTRL-SHIFT-v
, CMD-v (macOS), middle-click, …).
Enables "paste mode":
ui-wildmenu
Use ui-cmdline with ui-popupmenu instead. Enabled
by the ext_wildmenu
ui-option. Emits these events:
["wildmenu_show", items]
["wildmenu_select", selected]
["wildmenu_hide"]
term_background
Unused. The terminal background color is now detected
by the Nvim core directly instead of the TUI.