aboutsummaryrefslogtreecommitdiff
path: root/settings/erlang-ls.vim
blob: 115fac08c8cc768d8c6f2bb8a6fcedfec3006980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_erlang_ls
  au!
  LspRegisterServer {
      \ 'name': 'erlang-ls',
      \ 'cmd': {server_info->lsp_settings#get('erlang-ls', 'cmd', [lsp_settings#exec_path('erlang-ls'), '--transport', 'stdio'])},
      \ 'root_uri':{server_info->lsp_settings#get('erlang-ls', 'root_uri', lsp_settings#root_uri(extend(['rebar.config'], g:lsp_settings_root_markers)))},
      \ 'initialization_options': lsp_settings#get('erlang-ls', 'initialization_options', {}),
      \ 'whitelist': lsp_settings#get('erlang-ls', 'whitelist', ['erlang']),
      \ 'blacklist': lsp_settings#get('erlang-ls', 'blacklist', []),
      \ 'config': lsp_settings#get('erlang-ls', 'config', {}),
      \ 'workspace_config': lsp_settings#get('erlang-ls', 'workspace_config', {}),
      \ }
augroup END