nvim: move rustaceanvim to lsp.rust

This commit is contained in:
Primrose 2025-07-08 23:49:04 +02:00
parent f1cd9b036f
commit 59c43e1501
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 20 additions and 19 deletions

View file

@ -186,22 +186,3 @@ vim.api.nvim_create_autocmd("FileType", {
callback = function() require("metals").initialize_or_attach(metals_config) end,
group = nvim_metals_group,
})
----------
-- Rust --
----------
vim.g.rustaceanvim = {
server = {
on_attach = mylsp.on_attach,
settings = {
["rust-analyzer"] = { files = { excludeDirs = { ".direnv/" } } },
},
},
tools = {
hover = {
border = border,
stylize_markdown = true,
},
log = { level = vim.log.levels.OFF },
},
}