bubbly.nvim icon indicating copy to clipboard operation
bubbly.nvim copied to clipboard

lsp_status.messages not working

Open SmithJson opened this issue 2 years ago • 3 comments

Hi, thank you very much for your plugin. But after setting lsp_status.messages is not showing in statusline but lsp_status.diagnostics is working fine.

Env Mac 10.15.7 Neovim NVIM v0.8.0-dev+34-g4e4914ab2

Screenshot image image

SmithJson avatar Apr 25 '22 20:04 SmithJson

Try executing the following command:

:lua =require("lsp-status").messages()

If it displays some message then the problem is related with bubbly.nvim, if it doesn't it's related to lsp-status.nvim.

Here is the code related to that component, as you can see we don't do much more than parse the output of the messages function.

datwaft avatar Apr 25 '22 21:04 datwaft

Here

Hello, Lua = require ('lsp status) Messages() printf empty table {}

SmithJson avatar Apr 26 '22 04:04 SmithJson

If the output is an empty table, that means that either you are expecting to see a message where there are none, the LSP is not sending the messages or lsp-status is not working properly.

datwaft avatar Apr 26 '22 13:04 datwaft