feat: add lsps for all languages

This commit is contained in:
Youwen Wu 2024-08-17 23:59:50 -07:00
parent 4278718975
commit 563e94e3b0
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -24,24 +24,28 @@
go = pkgs.mkShell { go = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
go go
gopls
]; ];
}; };
zig = pkgs.mkShell { zig = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
zig zig
zls
]; ];
}; };
pythonPoetry = pkgs.mkShell { pythonPoetry = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
poetry poetry
pyright
]; ];
}; };
haskellStack = pkgs.mkShell { haskellStack = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
haskellPackages.stack haskellPackages.stack
haskell-language-server
]; ];
}; };
@ -49,6 +53,7 @@
buildInputs = with pkgs; [ buildInputs = with pkgs; [
haskellPackages.cabal-install haskellPackages.cabal-install
ghc ghc
haskell-language-server
]; ];
}; };
@ -75,6 +80,7 @@
nodejs nodejs
nodePackages_latest.npm nodePackages_latest.npm
nodePackages_latest.prettier nodePackages_latest.prettier
typescript-language-server
]; ];
}; };
@ -83,6 +89,7 @@
nodejs nodejs
nodePackages_latest.pnpm nodePackages_latest.pnpm
nodePackages_latest.prettier nodePackages_latest.prettier
typescript-language-server
]; ];
}; };
@ -91,6 +98,7 @@
nodejs nodejs
nodePackages_latest.yarn nodePackages_latest.yarn
nodePackages_latest.prettier nodePackages_latest.prettier
typescript-language-server
]; ];
}; };
@ -105,12 +113,14 @@
latexFull = pkgs.mkShell { latexFull = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
texliveFull texliveFull
texlab
]; ];
}; };
latexMinimal = pkgs.mkShell { latexMinimal = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
texliveMinimal texliveMinimal
texlab
]; ];
}; };
}; };