aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/pyls-ms.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/pyls-ms.vim b/settings/pyls-ms.vim
index d8b12d0..5d9f5b5 100644
--- a/settings/pyls-ms.vim
+++ b/settings/pyls-ms.vim
@@ -10,9 +10,9 @@ augroup vimlsp_settings_pyls_ms
\ 'displayOptions': {},
\ 'interpreter': {
\ 'properties': {
- \ 'InterpreterPath': exepath('python'),
+ \ 'InterpreterPath': lsp_settings#get('pyls-ms', 'python-path', {key, name->exepath('python')},
\ 'UseDefaultDatabase': v:true,
- \ 'Version': matchstr(system('python -V'), '\s\zs\S\+'),
+ \ 'Version': lsp_settings#get('pyls-ms', 'python-ver', {key, name->trim(matchstr(system('python -V'), '\s\zs\S\+'))}),
\ },
\ },
\ }),