Closed smartding closed 3 years ago
Does gopls
support textDocument/documentSymbol
? Have you previously had the current function name in the result of status
and this is a regression, or is this the first time you've tried to use lsp-status
? Where do you call the status()
function (e.g. is it getting updated)?
Does
gopls
supporttextDocument/documentSymbol
? Have you previously had the current function name in the result ofstatus
and this is a regression, or is this the first time you've tried to uselsp-status
? Where do you call thestatus()
function (e.g. is it getting updated)?
lsp-status works with gopls one commit ago, that is if I rollback lsp-status to commit id fb6b54e4c36481721819244788b278e7860afa85, everything works. So I guess it's a regression.
For debugging purpose, I just call status()
in neovim command like this : lua print(require('lsp-status').status())
.
Gotcha. Thanks for the report - it turns out this was an extremely stupid typo on my part.
I'm using NVIM v0.5.0-881-g4537ff659 with gopls, and lsp-status is configured as follows:
I notice the
status
function only shows diagnostic info, but the current function name is missing.