issue #161 ccls failure

serverCapcities
ray-x 2 years ago
parent b69154f9ee
commit bb018d541b

@ -145,7 +145,7 @@ function M.call_sync(method, params, opts, handler)
opts = opts or {}
local results_lsp, err = lsp.buf_request_sync(0, method, params, opts.timeout or vim.g.navtator_timeout or 1000)
if nvim_0_6_1() then
if nvim_0_6_1 then
handler(err, extract_result(results_lsp), { method = method }, nil)
else
handler(err, method, extract_result(results_lsp), nil, nil)

Loading…
Cancel
Save