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 a10ae92 commit 0b26915Copy full SHA for 0b26915
1 file changed
lua/vectorcode/jobrunner/lsp.lua
@@ -19,6 +19,9 @@ function jobrunner.init(ok_to_fail)
19
return CLIENT.id
20
end
21
ok_to_fail = ok_to_fail or true
22
+ if not vim.api.nvim_buf_is_loaded(0) then
23
+ vim.cmd("edit")
24
+ end
25
local client_id = vim.lsp.start(vc_config.lsp_configs(), {})
26
if client_id ~= nil then
27
-- server started
0 commit comments