1
2
3
4
5
6
7
8
9
10
11
12
13
|
augroup vimlsp_settings_emmylua_ls
au!
LspRegisterServer {
\ 'name': 'emmylua-ls',
\ 'cmd': {server_info->lsp_settings#get('emmylua-ls', 'cmd', [lsp_settings#exec_path('emmylua-ls')])},
\ 'root_uri':{server_info->lsp_settings#get('emmylua-ls', 'root_uri', lsp_settings#root_uri(['.git/']))},
\ 'initialization_options': lsp_settings#get('emmylua-ls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('emmylua-ls', 'whitelist', ['lua']),
\ 'blacklist': lsp_settings#get('emmylua-ls', 'blacklist', []),
\ 'config': lsp_settings#get('emmylua-ls', 'config', {}),
\ 'workspace_config': lsp_settings#get('emmylua-ls', 'workspace_config', {}),
\ }
augroup END
|