Get config value for status line #810
-
Checked other resources
DescriptionIs there a way to get the current target configured so I can display it in the status line? I'm using the command Neovim version (nvim -v)NVIM v0.12.0-dev-820+g7bf04bc01f Operating system/versionMacOs 15.5 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey 👋 rustaceanvim doesn't store that information. But you could probably use |
Beta Was this translation helpful? Give feedback.
Hey 👋
rustaceanvim doesn't store that information. But you could probably use
vim.lsp.get_clients
to find the rust-analyzer LSP client. The returned table should include the client config, which includes thecargo.target
.