add haskell support
This commit is contained in:
parent
364efb25ea
commit
6fbaf7fe89
3 changed files with 16 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue