From 02bc9d3592ec916bdd55eded407bb3a0449cfa29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 13 Jun 2023 09:56:41 +0100 Subject: [PATCH] disable hls on riscv --- config/programs/vim/modules/lsp/misc.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/programs/vim/modules/lsp/misc.nix b/config/programs/vim/modules/lsp/misc.nix index 5a5cc007..fb16aaf0 100644 --- a/config/programs/vim/modules/lsp/misc.nix +++ b/config/programs/vim/modules/lsp/misc.nix @@ -9,7 +9,6 @@ nodePackages.dockerfile-language-server-nodejs elixir-ls gopls - haskell-language-server nodePackages.vscode-css-languageserver-bin nodePackages.vscode-html-languageserver-bin nodePackages.vscode-json-languageserver @@ -22,7 +21,12 @@ ] ++ ( if pkgs.system != "riscv64-linux" - then with pkgs; [ltex-ls marksman] + then + with pkgs; [ + haskell-language-server + ltex-ls + marksman + ] else [] ); lspconfig = @@ -35,7 +39,6 @@ dockerls = {}; elixirls.cmd = ["elixir-ls"]; gopls = {}; - hls.filetypes = ["haskell" "lhaskell" "cabal"]; html = {}; jsonls = {}; lua_ls = {}; @@ -47,6 +50,7 @@ // ( if pkgs.system != "riscv64-linux" then { + hls.filetypes = ["haskell" "lhaskell" "cabal"]; ltex = {}; marksman = {}; }