Nvim :help
pages, generated
from source
using the tree-sitter-vimdoc parser.
nil
to omit entries from the logfile.
vim.lsp.semantic_tokens.enable(true)
instead
vim.lsp.semantic_tokens.enable(false)
instead
vim.lsp.log.set_level()
instead
vim.lsp.log.get_filename()
instead
nvim_exec_lua("vim.notify(...)", ...)
instead.
{err=true}
.
{err=true}
.
error
key has been renamed to err
inside
the result parameter of the handler.
vim.lsp.buf.*
.
client.request()
Use Client:request() instead.
client.request_sync()
Use Client:request_sync() instead.
client.notify()
Use Client:notify() instead.
client.cancel_request()
Use Client:cancel_request() instead.
client.stop()
Use Client:stop() instead.
client.is_stopped()
Use Client:is_stopped() instead.
client.supports_method()
Use Client:supports_method() instead.
client.on_attach()
Use Client:on_attach() instead.
vim.lsp.start_client()
Use vim.lsp.start() instead.
vim.diagnostic.enable(buf:number, namespace:number)
local keys = vim.split(section, '.', { plain = true }) local vim.tbl_get(table, unpack(keys))LUA
call jobstart(['foo'], { 'env': { 'NVIM_LISTEN_ADDRESS': v:servername } })
CTRL-SHIFT-v
, CMD-v (macOS), middle-click, …).
Enables "paste mode":
["wildmenu_show", items]
["wildmenu_select", selected]
["wildmenu_hide"]
jobpid(&channel)
instead.
&channel
instead. To access in non-current buffer:
vim.bo[bufnr].channel
getbufvar(bufnr, '&channel')