You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when opening Rust file using rust-analyzer.
Error executing vim.schedule lua callback: .../opt/lsp-status.nvim/lua/lsp-status/messaging.lua:24: attempt to index a nil value
Did some print debugging, and I suspect that maybe goes wrong because of the global messages table in lua/lsp-status/messaging.lua and there's two messages in parallel (rustAnalyzer/cargoWatcher and rustAnalyzer/startup). But that's just a hunch.
As you can see in the first message msg.token is rustAnalyzer/cargoWatcher, but the progress table only contains rustAnalyzer/startup causing a lookup error on this line:
Uh oh!
There was an error while loading. Please reload this page.
I get this error when opening Rust file using rust-analyzer.
Did some print debugging, and I suspect that maybe goes wrong because of the global
messages
table inlua/lsp-status/messaging.lua
and there's two messages in parallel (rustAnalyzer/cargoWatcher
andrustAnalyzer/startup
). But that's just a hunch.As you can see in the first message
msg.token
isrustAnalyzer/cargoWatcher
, but the progress table only containsrustAnalyzer/startup
causing a lookup error on this line:https://github.com/wbthomason/lsp-status.nvim/blob/d6ad84228c7a30dc6295afde110edb31bc331bdb/lua/lsp-status/messaging.lua#L24
The text was updated successfully, but these errors were encountered: