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 009f3eb commit bb7d586Copy full SHA for bb7d586
1 file changed
lua/java/startup/exec-order-check.lua
@@ -27,7 +27,9 @@ function M.is_valid()
27
}
28
end
29
30
- local clients = vim.lsp.get_clients({ name = 'jdtls' })
+ local clients = vim.lsp.get_clients
31
+ and vim.lsp.get_clients({ name = 'jdtls' })
32
+ or vim.lsp.get_active_clients({ name = 'jdtls' })
33
34
if #clients > 0 then
35
return {
0 commit comments