|
|
@ -230,6 +230,11 @@ local setups = {
|
|
|
|
clang = {excludeArgs = {"-frounding-math"}}
|
|
|
|
clang = {excludeArgs = {"-frounding-math"}}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
flags = {allow_incremental_sync = true}
|
|
|
|
flags = {allow_incremental_sync = true}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
jdtls = {
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
|
|
|
|
java = {signatureHelp = {enabled = true}, contentProvider = {preferred = 'fernflower'}}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -326,6 +331,7 @@ local function wait_lsp_startup(ft, retry, user_lsp_opts)
|
|
|
|
capabilities.textDocument.completion.completionItem.resolveSupport = {
|
|
|
|
capabilities.textDocument.completion.completionItem.resolveSupport = {
|
|
|
|
properties = {'documentation', 'detail', 'additionalTextEdits'}
|
|
|
|
properties = {'documentation', 'detail', 'additionalTextEdits'}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
capabilities.workspace.configuration = true
|
|
|
|
|
|
|
|
|
|
|
|
for _, client in ipairs(clients) do
|
|
|
|
for _, client in ipairs(clients) do
|
|
|
|
if client ~= nil then
|
|
|
|
if client ~= nil then
|
|
|
@ -410,6 +416,11 @@ local function wait_lsp_startup(ft, retry, user_lsp_opts)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
cfg.on_init = function(client)
|
|
|
|
|
|
|
|
if client and client.config and client.config.settings then
|
|
|
|
|
|
|
|
client.notify('workspace/didChangeConfiguration', {settings = client.config.settings})
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
load_cfg(ft, lspclient, cfg, loaded)
|
|
|
|
load_cfg(ft, lspclient, cfg, loaded)
|
|
|
|