aboutsummaryrefslogtreecommitdiff
path: root/settings/elm-language-server.vim
blob: 0407f743ef8690f5ed178c99c7c5b2813e3ee90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_elm_language_server
  au!
  LspRegisterServer {
      \ 'name': 'elm-language-server',
      \ 'cmd': {server_info->lsp_settings#get('elm-language-server', 'cmd', [lsp_settings#exec_path('elm-language-server')])},
      \ 'root_uri':{server_info->lsp_settings#get('elm-language-server', 'root_uri', lsp_settings#root_uri('elm-language-server'))},
      \ 'initialization_options': lsp_settings#get('elm-language-server', 'initialization_options', {'elmPath': 'elm', 'runtime': 'node', 'elmFormatPath': 'elm-format', 'elmTestPath': 'elm-test'}),
      \ 'whitelist': lsp_settings#get('elm-language-server', 'whitelist', ['elm', 'elm.tsx']),
      \ 'blacklist': lsp_settings#get('elm-language-server', 'blacklist', []),
      \ 'config': lsp_settings#get('elm-language-server', 'config', lsp_settings#server_config('elm-language-server')),
      \ 'workspace_config': lsp_settings#get('elm-language-server', 'workspace_config', {}),
      \ }
augroup END