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 4073f76 commit 445dd48Copy full SHA for 445dd48
lua/lsp-status.lua
@@ -87,7 +87,7 @@ local function on_attach(client)
87
88
-- If the client is a documentSymbolProvider, set up an autocommand
89
-- to update the containing symbol
90
- if _config.current_function and client.resolved_capabilities.document_symbol then
+ if _config.current_function and client.server_capabilities.documentSymbolProvider then
91
vim.api.nvim_command(
92
'au CursorHold <buffer> lua require("lsp-status").update_current_function()')
93
end
0 commit comments