Compare commits

...

2 Commits

Author SHA1 Message Date
877b59d5c5 [LSP] Finish rust_analyzer setup 2025-06-03 09:09:59 +02:00
acb285c118 [Mason] Add rust_analyzer 2025-06-03 09:09:48 +02:00
2 changed files with 5 additions and 3 deletions

View File

@ -49,14 +49,16 @@ return {
-- ┌ ┐ -- ┌ ┐
-- │ Rust │ -- │ Rust │
-- └ ┘ -- └ ┘
vim.lsp.config("rust_analyzer", { lspconfig.rust_analyzer.setup({
settings = { settings = {
["rust-analyzer"] = { ["rust-analyzer"] = {
diagnostics = { diagnostics = {
enable = false, enable = true,
}, },
}, },
}, },
capabilities = capabilities,
on_attach = on_attach,
}) })
-- ┌ ┐ -- ┌ ┐

View File

@ -32,7 +32,7 @@ return {
"marksman", "marksman",
-- "lua_ls", -- "lua_ls",
-- "pyright", -- "pyright",
-- "rust_analyzer" "rust_analyzer",
-- "tsserver", -- "tsserver",
"vue_ls" "vue_ls"
}, },