mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix(lsp): set fallback client name properly
This commit is contained in:
parent
59cf827f99
commit
5785c32f11
@ -127,7 +127,7 @@ end
|
|||||||
--- @param config lsp.ClientConfig
|
--- @param config lsp.ClientConfig
|
||||||
--- @return lsp.Client
|
--- @return lsp.Client
|
||||||
function Client.new(id, rpc, handlers, offset_encoding, config)
|
function Client.new(id, rpc, handlers, offset_encoding, config)
|
||||||
local name = config.name
|
local name = config.name or tostring(id)
|
||||||
|
|
||||||
--- @class lsp.Client
|
--- @class lsp.Client
|
||||||
local self = {
|
local self = {
|
||||||
|
Loading…
Reference in New Issue
Block a user