Metals lsp
This commit is contained in:
@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user