mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix(lsp): change silent
in lsp.start.Opts to optional (#28524)
This commit is contained in:
parent
73034611c2
commit
9b8a075539
@ -869,7 +869,7 @@ start({config}, {opts}) *vim.lsp.start()*
|
||||
re-uses a client if name and root_dir matches.
|
||||
• {bufnr} (`integer`) Buffer handle to attach to if starting
|
||||
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).
|
||||
|
||||
Return: ~
|
||||
|
@ -201,7 +201,7 @@ end
|
||||
--- @field bufnr integer
|
||||
---
|
||||
--- 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
|
||||
--- running client if one is found matching `name` and `root_dir`.
|
||||
|
Loading…
Reference in New Issue
Block a user