diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-29 22:59:32 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-29 22:59:32 +0900 |
commit | f45791fbab5a57e2d3245d7207fe0c79cef90722 (patch) | |
tree | 2f24e19f29152bd7f82ffa09e863297086c2a82a /settings | |
parent | d74648aa38fe5fd249f9e9baece7ca0eda30ed1d (diff) | |
download | vim-lsp-settings-f45791fbab5a57e2d3245d7207fe0c79cef90722.tar.gz vim-lsp-settings-f45791fbab5a57e2d3245d7207fe0c79cef90722.tar.bz2 vim-lsp-settings-f45791fbab5a57e2d3245d7207fe0c79cef90722.zip |
Use exepath()
Diffstat (limited to 'settings')
-rw-r--r-- | settings/pyls-ms.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/pyls-ms.vim b/settings/pyls-ms.vim index 4963cd4..d8b12d0 100644 --- a/settings/pyls-ms.vim +++ b/settings/pyls-ms.vim @@ -10,7 +10,7 @@ augroup vimlsp_settings_pyls_ms \ 'displayOptions': {}, \ 'interpreter': { \ 'properties': { - \ 'InterpreterPath': split(system('where python'), "\n")[0], + \ 'InterpreterPath': exepath('python'), \ 'UseDefaultDatabase': v:true, \ 'Version': matchstr(system('python -V'), '\s\zs\S\+'), \ }, |