Last active
July 26, 2026 14:07
-
-
Save mkohlhaas/dc1620945a7c5a2e8ab9430dabc22019 to your computer and use it in GitHub Desktop.
rust-analyzer & neovim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| config = { | |
| rust_analyzer = { | |
| settings = { | |
| ["rust-analyzer"] = { | |
| -- diagnostics = { | |
| -- enable = true, | |
| -- }, | |
| checkOnSave = false, | |
| cargo = { | |
| extraEnv = { CARGO_PROFILE_RUST_ANALYZER_INHERITS = "dev" }, | |
| extraArgs = { "--profile", "rust-analyzer" }, | |
| }, | |
| check = { command = "clippy", allTargets = false, workspace = false }, | |
| lens = { | |
| enable = false, | |
| }, | |
| }, | |
| }, | |
| }, | |
| }, | |
| ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment