1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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('erlang-ls'))},
\ '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', lsp_settings#server_config('erlang-ls')),
\ 'workspace_config': lsp_settings#get('erlang-ls', 'workspace_config', {}),
\ 'semantic_highlight': lsp_settings#get('erlang-ls', 'semantic_highlight', {}),
\ }
augroup END
|