nixos-config/config/programs/vim/modules/lsp/misc.nix

56 lines
1.2 KiB
Nix
Raw Normal View History

2023-04-13 09:42:27 +00:00
{pkgs, ...}: {
2023-06-12 15:18:31 +00:00
lspconfigPath = with pkgs;
[
nodePackages.bash-language-server
clang
clang-tools
cmake-language-server
dhall-lsp-server
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
lua-language-server
nil
pyright
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.vim-language-server
]
++ (
if pkgs.system != "riscv64-linux"
2023-06-13 06:07:34 +00:00
then with pkgs; [ltex-ls marksman]
2023-06-12 15:18:31 +00:00
else []
);
lspconfig =
{
bashls = {};
clangd = {};
cmake = {};
cssls = {};
dhall_lsp_server = {};
dockerls = {};
elixirls.cmd = ["elixir-ls"];
gopls = {};
hls.filetypes = ["haskell" "lhaskell" "cabal"];
html = {};
jsonls = {};
lua_ls = {};
nil_ls = {};
pyright = {};
tsserver = {};
vimls = {};
}
// (
if pkgs.system != "riscv64-linux"
then {
ltex = {};
2023-06-13 06:07:34 +00:00
marksman = {};
2023-06-12 15:18:31 +00:00
}
else {}
);
2023-04-13 09:42:27 +00:00
}