Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

lsp_status.messages not working #116

Open
SmithJson opened this issue Apr 25, 2022 · 3 comments
Open

lsp_status.messages not working #116

SmithJson opened this issue Apr 25, 2022 · 3 comments

Comments

@SmithJson
Copy link

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
Copy link
Owner

datwaft commented Apr 25, 2022

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
Copy link
Author

Here

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

@datwaft
Copy link
Owner

datwaft commented Apr 26, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants