mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
add(nvim): haskell LSP and formatter
This commit is contained in:
parent
6dcec698ff
commit
69926c0807
3 changed files with 58 additions and 0 deletions
|
|
@ -161,6 +161,12 @@ require "lspconfig".metals.setup {
|
|||
require "lspconfig".hls.setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
haskell = {
|
||||
cabalFormattingProvider = "cabalfmt",
|
||||
formattingProvider = "fourmolu"
|
||||
}
|
||||
}
|
||||
}
|
||||
-- Python
|
||||
require "lspconfig".pylsp.setup {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue