Add haskell language server to nvim
This commit is contained in:
parent
4271378a64
commit
485281bb70
|
@ -267,5 +267,11 @@ in
|
||||||
"diagnostic-languageserver.filetypes" = {
|
"diagnostic-languageserver.filetypes" = {
|
||||||
python = "mypy";
|
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"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue