nvim-lua / lsp-status.nvim

Utility functions for getting diagnostic status and progress messages from LSP servers, for use in the Neovim statusline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`CursorHold` continuously fails if LSP does not support `textDocument/documentSymbol`

WhyNotHugo opened this issue · comments

commented
Error detected while processing CursorHold Autocommands for "<buffer=1>":                                                                      
method textDocument/documentSymbol is not supported by any of the servers registered for the current buffer

I think the right to do here is to check that the server has this capability before sending the request (perhaps this can be done just once per buffer?).