Skip to content

Commit

Permalink
Use nosuf in expand()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo authored and roxma committed Apr 8, 2020
1 parent c880354 commit b710bf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/yarp/pyx.vim
Expand Up @@ -26,7 +26,7 @@ func! s:pyexe() dict
if get(g:, '_yarp_py', '')
return g:_yarp_py
endif
let g:_yarp_py = expand(get(g:, 'python_host_prog', ''))
let g:_yarp_py = expand(get(g:, 'python_host_prog', ''), 1)
if g:_yarp_py == '' && has('nvim') && has('python')
" heavy weight
" but better support for python detection
Expand All @@ -43,7 +43,7 @@ func! s:py3exe() dict
if get(g:, '_yarp_py3', '')
return g:_yarp_py3
endif
let g:_yarp_py3 = expand(get(g:, 'python3_host_prog', ''))
let g:_yarp_py3 = expand(get(g:, 'python3_host_prog', ''), 1)
if g:_yarp_py3 == '' && has('nvim') && has('python3')
" heavy weight
" but better support for python detection
Expand Down

0 comments on commit b710bf4

Please sign in to comment.