add haskell support

This commit is contained in:
Emile Clark-Boman 2025-09-03 00:37:55 +10:00
parent 364efb25ea
commit 6fbaf7fe89
3 changed files with 16 additions and 0 deletions

View file

@ -136,6 +136,12 @@
formatter.command = "${pkgs.clang-tools}/bin/clang-format";
language-servers = ["clangd"];
}
{
name = "haskell";
auto-format = true;
formatter.command = "${pkgs.ormolu}/bin/ormolu";
language-servers = ["haskell-language-server"];
}
];
language-server = {
@ -149,6 +155,10 @@
clangd = {
command = "${pkgs.clang-tools}/bin/clangd";
};
haskell-language-server = {
command = "${pkgs.haskell-language-server}/bin/haskell-language-server-wrapper";
};
};
};
};

View file

@ -253,6 +253,9 @@ in {
nimble
# Go
go
# Haskell
ghc
ghcid
# Python
python312 # I use 3.12 since it's in a pretty stable state now

View file

@ -254,6 +254,9 @@ in {
nimble
# Go
go
# Haskell
ghc
ghcid
# Python
python312 # I use 3.12 since it's in a pretty stable state now