aboutsummaryrefslogtreecommitdiff
path: root/settings/pyls-ms.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/pyls-ms.vim')
-rw-r--r--settings/pyls-ms.vim32
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