Skip to content

Get config value for status line #810

Answered by mrcjkb
augustocdias asked this question in Q&A
Discussion options

You must be logged in to vote

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 the cargo.target.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@augustocdias
Comment options

@mrcjkb
Comment options

@augustocdias
Comment options

Answer selected by augustocdias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants