Metals lsp

This commit is contained in:
2026-05-29 14:39:00 +02:00
parent 35505a79a5
commit 8e7bbdd5af
4 changed files with 53 additions and 6 deletions

View File

@ -1,6 +1,11 @@
vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' })
vim.pack.add({ 'https://github.com/j-hui/fidget.nvim' })
require("fidget").setup()
vim.lsp.enable({ 'lua_ls' })
vim.lsp.enable({ 'clangd' })
-- vim.lsp.enable({ 'metals' })
vim.lsp.config("rust_analyzer", {
settings = {
@ -9,12 +14,12 @@ vim.lsp.config("rust_analyzer", {
{
postfix = { enable = true, },
},
check = {
command = "clippy",
},
}
},
}
check = {
command = "clippy",
},
}
},
}
)
vim.lsp.enable('rust_analyzer')