added haskell language server

This commit is contained in:
Philipp Hochkamp 2023-04-28 12:22:12 +02:00
parent b0d67cc741
commit 7cdd07a9ae
3 changed files with 14 additions and 11 deletions

18
flake.lock generated
View file

@ -87,11 +87,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1682592091, "lastModified": 1682673816,
"narHash": "sha256-JQTGiWOhj+/ZoJfWPQ3vOYAXf0SsMtJuOPTvwArPyIg=", "narHash": "sha256-C5zxg5AbMbX3UD2iiWL6fqvp/csTnk8JeXh6PHf7zOI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "23488bbca5ea0012bafa2c75b88902b540ff9940", "rev": "60fe647be71d6f433f4a8f9f22d7430bf0ef58a4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -251,11 +251,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1682583188, "lastModified": 1682669607,
"narHash": "sha256-CqXxDWqRLc7liA8cwafV4TQ5ggxx3PTlvDs8CUuF5HY=", "narHash": "sha256-m+KpU/R71cpPZ0jLyC15u58wpA7MXtanXz0QetN1V/s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "c57746e2b9e3b42c0be9d9fd1d765f245c3827b7", "rev": "ab48027070ebb931feeb468f30641b9906a1fa8e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -314,11 +314,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1682604483, "lastModified": 1682692888,
"narHash": "sha256-KsjKgQhAUXu2ZX9u421dwfVsn2Pgr7/mNDqQ4pVLvk8=", "narHash": "sha256-DJW9LNTwIzx0q348t+TEVrW7Ds2fvOjVnTQzFk7tKcg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f602fe84197a455c44373b5d0fcf6eb18c1c353f", "rev": "1f3c4bf6b40ef3a6fd8f6afe19bc5c7ef0db0b62",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -86,6 +86,8 @@ lspconfig.sumneko_lua.setup {
} }
} }
} }
-- haskell
lspconfig.hls.setup { capabilities = capabilities, on_attach = on_lsp_attach }

View file

@ -17,6 +17,7 @@
terraform terraform
nodePackages.typescript nodePackages.typescript
nodePackages.typescript-language-server nodePackages.typescript-language-server
haskell-language-server
sumneko-lua-language-server sumneko-lua-language-server
ltex-ls # languageTool ltex-ls # languageTool
nodePackages.vscode-langservers-extracted # eslint, ... nodePackages.vscode-langservers-extracted # eslint, ...
@ -26,7 +27,7 @@
cargo cargo
rustc rustc
rustfmt rustfmt
rust-analyzer unstable.rust-analyzer
# c# debugging # c# debugging
(pkgs.writeShellScriptBin "netcoredbg" ''exec ${pkgs.unstable.netcoredbg}/bin/netcoredbg "$@"'') # don't fill $path with dlls (pkgs.writeShellScriptBin "netcoredbg" ''exec ${pkgs.unstable.netcoredbg}/bin/netcoredbg "$@"'') # don't fill $path with dlls
@ -63,7 +64,7 @@
src = inputs.noice-nvim; src = inputs.noice-nvim;
}; };
in in
map (x: { plugin = x; }) (with pkgs.unstable.vimPlugins; [ map (x: { plugin = x; }) (with pkgs.vimPlugins; [
vim-tmux-navigator # tmux vim-tmux-navigator # tmux
nnn-nvim # nnn as filebrowser nnn-nvim # nnn as filebrowser
gruvbox-nvim # theme gruvbox-nvim # theme