From ba103d61e0b332b1c1347f40e95f87c13c202e51 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 29 Jan 2020 22:45:53 +0900 Subject: Fix pyls-ms --- settings/pyls-ms.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'settings') 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\+'), \ }, \ }, \ }), -- cgit v1.2.3-54-g00ecf