From 3727a28e262e8b513bca1d38b4cc631abba796bc Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Thu, 20 Jun 2019 20:14:20 -0700 Subject: [PATCH] Add elm language server. --- nvim/.config/nvim/init.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 22501d4..3acb9bb 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -35,7 +35,8 @@ let g:LanguageClient_serverCommands = { \ 'c': ['clangd'], \ 'crystal': ['scry'], \ 'cpp': ['clangd'], - \ 'javascript': ['javascript-typescript-stdio'] + \ 'javascript': ['javascript-typescript-stdio'], + \ 'elm': ['elm-language-server', '--stdio'] \ } let g:deoplete#enable_at_startup = 1 let g:LanguageClient_diagnosticsDisplay = { @@ -45,5 +46,6 @@ let g:LanguageClient_diagnosticsDisplay = { \ 4: {"name": "Hint","texthl": "ALEInfo","signText": ">>","signTexthl": "ALEInfoSign",},} let g:LanguageClient_rootMarkers = { \ 'haskell': ['.git'], + \ 'elm': ['elm.json'], \ } colorscheme nord