diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-29 19:31:44 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-29 19:31:44 +0900 |
commit | 4f1f0a36c564424c0feb104e95bd47e539839f77 (patch) | |
tree | b439373d756ca4b6c38aec8086fc89a3dd87a244 /settings | |
parent | 54b401800bd2322bb40151cd63269ad3a39ebb35 (diff) | |
download | vim-lsp-settings-4f1f0a36c564424c0feb104e95bd47e539839f77.tar.gz vim-lsp-settings-4f1f0a36c564424c0feb104e95bd47e539839f77.tar.bz2 vim-lsp-settings-4f1f0a36c564424c0feb104e95bd47e539839f77.zip |
Add pyls-ms
Diffstat (limited to 'settings')
-rw-r--r-- | settings/pyls-ms.vim | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/settings/pyls-ms.vim b/settings/pyls-ms.vim new file mode 100644 index 0000000..4b5c17d --- /dev/null +++ b/settings/pyls-ms.vim @@ -0,0 +1,32 @@ +augroup vimlsp_settings_pyls_ms + au! + LspRegisterServer { + \ 'name': 'pyls-ms', + \ 'cmd': {server_info->lsp_settings#get('pyls-ms', 'cmd', [lsp_settings#exec_path('pyls-ms')])}, + \ 'root_uri':{server_info->lsp_settings#get('pyls-ms', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))}, + \ 'initialization_options': lsp_settings#get('pyls-ms', 'initialization_options', { + \ 'analysisUpdates': v:true, + \ 'asyncStartup': v:true, + \ 'displayOptions': {}, + \ 'interpreter': { + \ 'properties': { + \ 'InterpreterPath': 'python', + \ 'UseDefaultDatabase': v:true, + \ 'Version': '3.8.1' + \ }, + \ }, + \ }), + \ 'whitelist': lsp_settings#get('pyls-ms', 'whitelist', ['python']), + \ 'blacklist': lsp_settings#get('pyls-ms', 'blacklist', []), + \ 'config': lsp_settings#get('pyls-ms', 'config', {}), + \ 'workspace_config': lsp_settings#get('pyls-ms', 'workspace_config', { + \ 'python': { + \ 'analysis': { + \ 'errors': [], + \ 'info': [], + \ 'disabled': [], + \ }, + \ }, + \ }), + \ } +augroup END |