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 b3dfc91 commit 3ac8b7bCopy full SHA for 3ac8b7b
lua/null-ls/client.lua
@@ -76,6 +76,7 @@ local on_init = function(new_client, initialize_result)
76
-- TODO: extract map to prevent future issues
77
local method_to_required_capability_map = lsp.protocol._request_name_to_capability
78
or lsp._request_name_to_capability
79
+ or lsp.protocol._request_name_to_server_capability
80
local required_capability = method_to_required_capability_map[method]
81
return not required_capability
82
or vim.tbl_get(new_client.server_capabilities, unpack(required_capability)) == false
0 commit comments