mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
fix(lsp): change silent
in lsp.start.Opts to optional (#28524)
This commit is contained in:

committed by
GitHub

parent
73034611c2
commit
9b8a075539
@@ -869,7 +869,7 @@ start({config}, {opts}) *vim.lsp.start()*
|
|||||||
re-uses a client if name and root_dir matches.
|
re-uses a client if name and root_dir matches.
|
||||||
• {bufnr} (`integer`) Buffer handle to attach to if starting
|
• {bufnr} (`integer`) Buffer handle to attach to if starting
|
||||||
or re-using a client (0 for current).
|
or re-using a client (0 for current).
|
||||||
• {silent} (`boolean`) Suppress error reporting if the LSP
|
• {silent}? (`boolean`) Suppress error reporting if the LSP
|
||||||
server fails to start (default false).
|
server fails to start (default false).
|
||||||
|
|
||||||
Return: ~
|
Return: ~
|
||||||
|
@@ -201,7 +201,7 @@ end
|
|||||||
--- @field bufnr integer
|
--- @field bufnr integer
|
||||||
---
|
---
|
||||||
--- Suppress error reporting if the LSP server fails to start (default false).
|
--- Suppress error reporting if the LSP server fails to start (default false).
|
||||||
--- @field silent boolean
|
--- @field silent? boolean
|
||||||
|
|
||||||
--- Create a new LSP client and start a language server or reuses an already
|
--- Create a new LSP client and start a language server or reuses an already
|
||||||
--- running client if one is found matching `name` and `root_dir`.
|
--- running client if one is found matching `name` and `root_dir`.
|
||||||
|
Reference in New Issue
Block a user