aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-29 22:45:53 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-29 22:45:53 +0900
commitba103d61e0b332b1c1347f40e95f87c13c202e51 (patch)
treeb46dad73e860d22c6cddabffeb99f14c88b967d4 /settings
parent4f1f0a36c564424c0feb104e95bd47e539839f77 (diff)
downloadvim-lsp-settings-ba103d61e0b332b1c1347f40e95f87c13c202e51.tar.gz
vim-lsp-settings-ba103d61e0b332b1c1347f40e95f87c13c202e51.tar.bz2
vim-lsp-settings-ba103d61e0b332b1c1347f40e95f87c13c202e51.zip
Fix pyls-ms
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 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\+'),
\ },
\ },
\ }),