From 70a16f41be651ea971b07c8eabef760bd888b6b3 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 10 Oct 2020 22:33:40 +0200 Subject: [PATCH] vim: Add haskell language server --- home/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index d9aa1b1..a66e7f6 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -115,6 +115,7 @@ let g:LanguageClient_serverCommands = { \ 'python': ['pyls'], \ 'typescript': ['docker', 'run', '--rm', '--init', '-i', '-v', '$HOME:$HOME:ro', '--network=none', 'r.sbruder.de/javascript-typescript-langserver'], \ 'javascript': ['docker', 'run', '--rm', '--init', '-i', '-v', '$HOME:$HOME:ro', '--network=none', 'r.sbruder.de/javascript-typescript-langserver'], + \ 'haskell': ['nix-shell', '--quiet', '-p', 'haskellPackages.haskell-language-server', '--run', 'haskell-language-server --lsp'], \ } let g:LanguageClient_loggingFile = '~/.local/share/nvim/LanguageClient.log'