Add haskell language server to nvim

This commit is contained in:
Emi Simpson 2023-12-18 11:07:19 -05:00
parent 4271378a64
commit 485281bb70
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
1 changed files with 6 additions and 0 deletions

View File

@ -267,5 +267,11 @@ in
"diagnostic-languageserver.filetypes" = {
python = "mypy";
};
haskell = {
command = "haskell-language-server-wrapper";
args = ["--lsp"];
rootPatterns = ["*.cabal" "stack.yaml" "cabal.project" "package.yaml" "hie.yaml"];
filetypes = ["hs" "lhs" "haskell" "lhaskell"];
};
};
}