summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorMarcelo Lima <marcelowind@gmail.com>2020-07-29 11:27:20 +0200
committerMarcelo Lima <marcelowind@gmail.com>2020-07-29 11:27:20 +0200
commit11ecc1a9edca57424ee3a473bbb4f8d853fcf6c5 (patch)
tree8d420638438a3ccdee058c6a8ad670ebeb7d6e11 /autoload
parent04a7bfcd997e5178f080ebd368f681545d0d26d6 (diff)
downloaddeoplete.nvim-11ecc1a9edca57424ee3a473bbb4f8d853fcf6c5.zip
Expand variables in python path
Diffstat (limited to 'autoload')
-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.')