1
2
3
4
5
6
7
8
9
10
11
12
|
augroup vimlsp_settings_pyls
au!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'pyls',
\ 'cmd': lsp_settings#get('pyls', 'cmd', {server_info->[lsp_settings#exec_path('pyls')]}),
\ 'initialization_options': lsp_settings#get('pyls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('pyls', 'whitelist', ['python']),
\ 'blacklist': lsp_settings#get('pyls', 'blacklist', []),
\ 'config': lsp_settings#get('pyls', 'config', {}),
\ 'workspace_config': lsp_settings#get('pyls', 'workspace_config', {}),
\ })
augroup END
|