Skip to content

Commit 26f9080

Browse files
committed
fix: only use client.name in reuse client logic
1 parent 86ac111 commit 26f9080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/copilot/client.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ end
2727
local lsp_start = vim.lsp.start
2828
if not lsp_start then
2929
local function reuse_client(client, conf)
30-
return client.config.root_dir == conf.root_dir and client.name == conf.name
30+
return client.name == conf.name
3131
end
3232

3333
-- shim for neovim < 0.8.2

0 commit comments

Comments
 (0)