LSP: properly set 'async = true' default for symbols

main
bhagwan 3 years ago
parent a14548321a
commit 2d6967be4b

@ -260,8 +260,7 @@ end
local set_async_default = function(opts, bool)
if not opts then opts = {} end
if opts.sync == nil and
opts.async == nil and
type(opts.async_or_timeout) == 'number' then
opts.async == nil then
opts.async = bool
end
return opts

Loading…
Cancel
Save