datwaft / bubbly.nvim

Bubbly statusline for neovim
MIT License
184 stars 6 forks source link

lsp_status.messages not working #116

Open SmithJson opened 2 years ago

SmithJson commented 2 years ago

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
datwaft commented 2 years ago

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.

SmithJson commented 2 years ago

Here

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

datwaft commented 2 years ago

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.