1
2
3
4
5
6
7
8
9
10
11
|
augroup vimlsp_settings_bash_language_server
au!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'bash-language-server',
\ 'cmd': {server_info->lsp_settings#get('bash-language-server', 'cmd', [lsp_settings#exec_path('bash-language-server'), 'start'])},
\ 'whitelist': lsp_settings#get('bash-language-server', 'whitelist', ['sh']),
\ 'blacklist': lsp_settings#get('bash-language-server', 'blacklist', []),
\ 'config': lsp_settings#get('bash-language-server', 'config', {}),
\ 'workspace_config': lsp_settings#get('bash-language-server', 'workspace_config', {}),
\ })
augroup END
|