Nvim :help pages, generated
from source
using the tree-sitter-vimdoc parser.
'outer' or 'inner'.
progress attribute removed form ui-messages msg_show event
on_range() callback.
<C-R>=@x.
msg_show.return_prompt, and
msg_history_clear events. The msg_clear event was repurposed and is now
emitted after the screen is cleared. These events arbitrarily assumed a
message UI that mimics the legacy message grid. Benefit: reduced UI event
traffic and more flexibility for UIs.
The msg_history_show event has an additional "prev_cmd" argument.
nil.
Missing fields (as opposed to JSON "null") are still represented as nil.
vim.lsp.semantic_tokens start()/stop() to enable().
nil instead of 0.
signatures[activeSignature].parameters
are now treated as nil instead of #signatures[activeSignature].parameters
vim.diff to vim.text.diff.
metadata[capture_id].range; it instead sets
metadata[capture_id].offset. The offset will be applied in
vim.treesitter.get_range(), which should be preferred over reading
metadata directly for retrieving node ranges.
max_height is reached, and returns the end_row and end_vcol for which
max_height or the calculated height is reached.
true for trusted directories. Previously
it would return nil, which made it impossible to tell if the directory was
actually trusted.
format function to modify (or filter) diagnostics before being set in the
location/quickfix list.
enabled filter to only return
enabled or disabled diagnostics.
:trust.
empty message kind is emitted for an empty (e.g. :echo "") message.
msg_ruler when not part of the statusline.
workspace_required.
root_markers.
textDocument/documentColor: lsp-document_color
https://microsoft.github.io/language-server-protocol/specification/#textDocument_documentColor
textDocument/diagnostic request now includes the previous id in its
parameters.
workspace/diagnostic: vim.lsp.buf.workspace_diagnostics()
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_dagnostics
textDocument/selectionRange.
an selects outwards and in selects inwards.
disabled field on code actions.
cmd in a vim.lsp.Config or vim.lsp.ClientConfig
receives the resolved config as the second arg: cmd(dispatchers, config).
:checkhealth vim.lsp is now available to check which buffers the active LSP features are attached to.
DiagnosticRelatedInformation is now shown in
vim.diagnostic.open_float(). It is read from the LSP diagnostic object
stored in the user_data field.
DiagnosticRelatedInformation, gf can be used to
jump to the problematic location.
textDocument/linkedEditingRange: lsp-linked_editing_range
https://microsoft.github.io/language-server-protocol/specification/#textDocument_linkedEditingRange
textDocument/inlineCompletion lsp-inline_completion
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.18/specification/#textDocument_inlineCompletion
See lsp-inline_completion for quickstart instructions.
textDocument/onTypeFormatting: lsp-on_type_formatting
https://microsoft.github.io/language-server-protocol/specification/#textDocument_onTypeFormatting
vim.uv.
vim.pos and vim.range for Position/Range abstraction.
indent option for pretty-formatting.
sort_keys option.
inline: configures diff highlighting for changes within a line.
FileType checkhealth event.
health-usage
uv tool install pynvim
Nvim will detect the plugin's location without user configuration, even if
unrelated Python virtual environments are activated.
provider-python
vim._extui provides an experimental commandline and message UI intended to
replace the message grid in the TUI.
stdpath("data").."/site/spell/" instead of
the first writable directory in 'runtimepath'.
vim{number} (e.g. vim82).