Deprecated
Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
Nvim
The items listed below are deprecated: they will be removed in the future.
They should not be used in new scripts, and old scripts should be updated.
ENVIRONMENT VARIABLES
Deprecated way to:
set the server name (use --listen or serverstart() instead)
get the server name (use v:servername instead)
detect a parent Nvim (use $NVIM instead)
Ignored if --listen is given.
Unset by terminal and jobstart() unless explicitly given by the "env"
option. Example:
call jobstart(['foo'], { 'env': { 'NVIM_LISTEN_ADDRESS': v:servername } })
FUNCTIONS
rpcstop()
Use jobstop() instead to stop any job, or
chanclose(id, "rpc")
to close RPC communication
without stopping the job. Use chanclose(id) to close
any socket.
LSP DIAGNOSTICS
For each of the functions below, use the corresponding function in vim.diagnostic instead (unless otherwise noted). For example, use vim.diagnostic.get() instead of vim.lsp.diagnostic.get().
vim.lsp.diagnostic.get_virtual_text_chunks_for_line()
No replacement. Use
options provided by vim.diagnostic.config() to customize virtual text.
The following are deprecated without replacement. These functions are moved
internally and are no longer exposed as part of the API. Instead, use
vim.diagnostic.config() and vim.diagnostic.show().
OPTIONS
'gdefault' Enables the :substitute flag 'g' by default.
'sessionoptions' Flags "unix", "slash" are ignored and always enabled.
'viewoptions' Flags "unix", "slash" are ignored and always enabled.
UI EXTENSIONS
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"]