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