News
Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
Notable changes since Nvim 0.10
For changes in the previous release, see
news-0.10.
====== Remove this section before release. ======
The following changes to UNRELEASED features were made during the development
cycle (Nvim HEAD, the "master" branch).
These changes may require adaptations in your config or plugins.
API
vim.rpcnotify(0)
and rpcnotify(0)
broadcast to ALL channels. Previously
they would "multicast" only to subscribed channels (controlled by
nvim_subscribe()
). Plugins and clients that want "multicast" behavior must
now maintain their own list of channels.
In the future,
vim.rpcnotify() may accept a list of channels, if there
is demand for this use-case.
DEFAULTS
[D-default and
]D-default jump to the first and last diagnostic in the
current buffer, respectively.
DIAGNOSTICS
EDITOR
The order in which signs are placed was changed. Higher priority signs will
now appear left of lower priority signs.
hl-CurSearch now behaves the same as Vim and no longer updates on every
cursor movement.
Moving in the buffer list using
:bnext and similar commands behaves as
documented and skips help buffers if run from a non-help buffer, otherwise
it moves to another help buffer.
VIM SCRIPT
v:msgpack_types has the type "binary" removed.
msgpackparse() no longer
treats BIN, STR and FIXSTR as separate types. Any of these is returned as a
string if possible, or a
blob if the value contained embedded NUL:s.
EVENTS
LSP
LUA
OPTIONS
PLUGINS
TREESITTER
TUI
The following new features were added.
API
DEFAULTS
Snippet:
<Tab>
in Insert and Select mode maps to vim.snippet.jump({ direction = 1 })
when a snippet is active and jumpable forwards.
<S-Tab>
in Insert and Select mode maps to vim.snippet.jump({ direction = -1 })
when a snippet is active and jumpable backwards.
EDITOR
On Windows, filename arguments on the command-line prefixed with "~\" or
"~/" are now expanded to the user's profile directory, not a relative path
to a literal "~" directory.
EVENTS
CompleteDone now sets the
reason
key in
v:event
which specifies the reason
for completion being done.
LSP
Completion side effects (including snippet expansion, execution of commands
and application of additional text edits) is now built-in.
vim.lsp.buf.format() now supports passing a list of ranges
via the
range
parameter (this requires support for the
textDocument/rangesFormatting
request).
LUA
OPTIONS
'tabclose' controls which tab page to focus when closing a tab page.
PLUGINS
EditorConfig
spelling_language property is now supported.
STARTUP
TERMINAL
The
terminal now understands the OSC 52 escape sequence to write to the
system clipboard (copy). Querying with OSC 52 (paste) is not supported.
TREESITTER
TUI
UI
These existing features changed their behavior.
These deprecated features were removed.