diff options
-rw-r--r-- | settings.json | 2 | ||||
-rw-r--r-- | settings/pyls-ms.vim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/settings.json b/settings.json index fdbfd1d..7fd1386 100644 --- a/settings.json +++ b/settings.json @@ -334,7 +334,7 @@ { "command": "pyls-ms", "requires": [ - "py" + "python" ] } ], 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\+'), \ }, \ }, \ }), |