diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/pyls-ms.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/pyls-ms.vim b/settings/pyls-ms.vim index 4b5c17d..4963cd4 100644 --- a/settings/pyls-ms.vim +++ b/settings/pyls-ms.vim @@ -10,9 +10,9 @@ augroup vimlsp_settings_pyls_ms \ 'displayOptions': {}, \ 'interpreter': { \ 'properties': { - \ 'InterpreterPath': 'python', + \ 'InterpreterPath': split(system('where python'), "\n")[0], \ 'UseDefaultDatabase': v:true, - \ 'Version': '3.8.1' + \ 'Version': matchstr(system('python -V'), '\s\zs\S\+'), \ }, \ }, \ }), |