summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2020-07-29 19:19:31 +0900
committerGitHub <noreply@github.com>2020-07-29 19:19:31 +0900
commit5bde114b9ff52b59f865caf8ab56ac6e05dcbda2 (patch)
tree8d420638438a3ccdee058c6a8ad670ebeb7d6e11
parent04a7bfcd997e5178f080ebd368f681545d0d26d6 (diff)
parent11ecc1a9edca57424ee3a473bbb4f8d853fcf6c5 (diff)
downloaddeoplete.nvim-5bde114b9ff52b59f865caf8ab56ac6e05dcbda2.zip
Merge pull request #1118 from m-lima/master
Expand variables in python path
-rw-r--r--autoload/deoplete/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim
index 95bbed5..cea4e8f 100644
--- a/autoload/deoplete/init.vim
+++ b/autoload/deoplete/init.vim
@@ -38,7 +38,7 @@ function! deoplete#init#_channel() abort
return 1
endif
- let python3 = get(g:, 'python3_host_prog', 'python3')
+ let python3 = expand(get(g:, 'python3_host_prog', 'python3'))
if !executable(python3)
call deoplete#util#print_error(
\ string(python3) . ' is not executable.')