-
Checked other resources
DescriptionRunning Example: opening almost any main.rs in https://github.com/matter-labs/zksync-era will overload my laptop for almost half an hour and lock build directory. This question is similar to #498, but I need to completely disable the command. Thank you! Example Code{
"mrcjkb/rustaceanvim",
version = "^5"
ft = { "rust" },
config = function()
vim.g.rustaceanvim = {
-- Plugin configuration
tools = {
autoSetHints = true,
inlay_hints = {
show_parameter_hints = true,
parameter_hints_prefix = "in: ", -- "<- "
other_hints_prefix = "out: ", -- "=> "
},
},
server = {
cmd = { "nice", "-n", "10", "rust-analyzer" },
settings = {
["rust-analyzer"] = {
assist = {
importEnforceGranularity = true,
importPrefix = "create",
},
cargo = { allFeatures = true },
checkOnSave = {
command = "clippy",
allFeatures = true,
},
inlayHints = {
lifetimeElisionHints = {
enable = true,
useParameterNames = true,
},
},
},
},
},
dap = {},
}
end,
}, Neovim version (nvim -v)v0.10.4 Operating system/versionDebian testing Output of :checkhealth rustaceanvimrustaceanvim: require("rustaceanvim.health").check()
Checking for Lua dependencies ~
- OK [mfussenegger/nvim-dap](https://github.com/mfussenegger/nvim-dap) installed.
Checking external dependencies ~
- OK rust-analyzer: found nice (GNU coreutils) 9.7
- OK Cargo: found cargo 1.87.0-nightly (6cf826701 2025-03-14)
- OK rustc: found rustc 1.87.0-nightly (75530e9f7 2025-03-18)
- OK cargo-nextest: found cargo-nextest 0.9.84 (66c25946e 2024-11-15)
- OK debug adapter: found codelldb
Checking config ~
- OK No errors found in config.
Checking for conflicting plugins ~
- OK No conflicting plugins detected.
Checking for tree-sitter parser ~
- WARNING No tree-sitter parser for Rust detected. Required by 'Rustc unpretty' command. |
Beta Was this translation helpful? Give feedback.
Answered by
mrcjkb
May 22, 2025
Replies: 1 comment 1 reply
-
Hey 👋 You can configure rustaceanvim not to autoload DAP configurations: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
yorik
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey 👋
You can configure rustaceanvim not to autoload DAP configurations:
:h rustaceanvim.config
and:h rustaceanvim.dap.Opts
.