We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ffb849 commit f49d6e3Copy full SHA for f49d6e3
lua/copilot/lsp/binary.lua
@@ -348,7 +348,7 @@ end
348
---@param custom_server_path? string
349
function M.setup(custom_server_path)
350
if custom_server_path then
351
- if not vim.fn.filereadable(custom_server_path) then
+ if vim.fn.filereadable(custom_server_path) == 0 then
352
logger.error("copilot-language-server not found at " .. custom_server_path)
353
return M
354
end
0 commit comments