Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
'outer'
or 'inner'
.
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 mimicks 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.
empty
message kind is emitted for an empty (e.g. :echo ""
) message.
root_markers
in vim.lsp.Config can now be ordered by priority.
vim.lsp.semantic_tokens.start/stop
now renamed to
vim.lsp.semantic_tokens.enable
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.
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.
vim.uv
.
inline:
configures diff highlighting for changes within a line.
FileType checkhealth
event.
health-usage
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'.