My config for rustaceanvim so far. And some experiences. #342
zjp-CN
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
vim.g.rustaceanvimis already set in LazyVim, but yours are prior and merged.test_executor = "termopen":RustLsp testablesenable_nextest = falseif back tocargo test.---@type _.lspconfig.settings.rust_analyzer.Hoverhelps you write nested tables.{ "mrcjkb/rustaceanvim", keys = { { "<F2>", "<cmd>RustLsp hover actions<cr>", ft = "rust", desc = "RustHoverActions" }, }, opts = { ---@type RustaceanToolsOpts tools = { test_executor = "termopen", -- default to a popup and hinder --nocapture arg -- enable_nextest = false, -- default is true }, server = { default_settings = { ["rust-analyzer"] = { ---@type _.lspconfig.settings.rust_analyzer.Hover hover = { show = { structFields = 20, }, }, }, }, }, }, },Beta Was this translation helpful? Give feedback.
All reactions