mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 23:35:32 +00:00
docs(diagnostic): add return value of vim.diagnostic.config() (#26615)
This commit is contained in:
@@ -617,6 +617,8 @@ end
|
||||
---
|
||||
---@param namespace integer|nil Update the options for the given namespace. When omitted, update the
|
||||
--- global diagnostic options.
|
||||
---
|
||||
---@return table|nil table of current diagnostic config if `opts` is omitted.
|
||||
function M.config(opts, namespace)
|
||||
vim.validate({
|
||||
opts = { opts, 't', true },
|
||||
|
||||
Reference in New Issue
Block a user