chore: VeryLazy on lazy nvim and some other stuff

This commit is contained in:
Afonso Franco 2023-10-18 18:39:47 +01:00
parent ae2d60ba19
commit 5b53d49195
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
10 changed files with 42 additions and 47 deletions

View file

@ -59,29 +59,3 @@ mason_lspconfig.setup_handlers {
}
end,
}
require('lspconfig')['hls'].setup {
filetypes = { 'haskell', 'lhaskell', 'cabal' },
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
require("rust-tools").setup({
server = {
on_attach = on_attach,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
},
},
},
},
tools = {
hover_actions = {
auto_focus = true,
},
},
})