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";
|
formatter.command = "${pkgs.clang-tools}/bin/clang-format";
|
||||||
language-servers = ["clangd"];
|
language-servers = ["clangd"];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "haskell";
|
||||||
|
auto-format = true;
|
||||||
|
formatter.command = "${pkgs.ormolu}/bin/ormolu";
|
||||||
|
language-servers = ["haskell-language-server"];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
language-server = {
|
language-server = {
|
||||||
|
|
@ -149,6 +155,10 @@
|
||||||
clangd = {
|
clangd = {
|
||||||
command = "${pkgs.clang-tools}/bin/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
|
nimble
|
||||||
# Go
|
# Go
|
||||||
go
|
go
|
||||||
|
# Haskell
|
||||||
|
ghc
|
||||||
|
ghcid
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
python312 # I use 3.12 since it's in a pretty stable state now
|
python312 # I use 3.12 since it's in a pretty stable state now
|
||||||
|
|
|
||||||
|
|
@ -254,6 +254,9 @@ in {
|
||||||
nimble
|
nimble
|
||||||
# Go
|
# Go
|
||||||
go
|
go
|
||||||
|
# Haskell
|
||||||
|
ghc
|
||||||
|
ghcid
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
python312 # I use 3.12 since it's in a pretty stable state now
|
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