chore(nvim): added a few things to config

This commit is contained in:
Afonso Franco 2024-07-31 14:23:19 +01:00
parent dfad8fb88d
commit 91728df4b9
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
4 changed files with 40 additions and 9 deletions

View file

@ -111,7 +111,10 @@ return {
end,
settings = {
ltex = {
language = "pt-PT",
language = "en-GB",
},
additionalRules = {
enablePickyRules = true,
},
},
})
@ -190,8 +193,17 @@ return {
capabilities = capabilities,
filetypes = { 'haskell', 'lhaskell', 'cabal' },
})
lspconfig["sourcekit"].setup({
capabilities = capabilities,
})
end,
},
{
'mrcjkb/rustaceanvim',
version = '^4', -- Recommended
lazy = false, -- This plugin is already lazy
},
{
"stevearc/conform.nvim",
event = "VeryLazy",
@ -202,6 +214,7 @@ return {
haskell = { "fourmolu" },
javascript = { "prettierd" },
markdown = { "mdformat" },
rust = { "rustfmt" },
go = { "gofmt" },
json = { "jq" }
}