Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

Commit

Permalink
python sys.executable detection is not reliable in embedded environme…
Browse files Browse the repository at this point in the history
…nt. #52
  • Loading branch information
roxma committed Oct 15, 2017
1 parent d1f2b54 commit 6eff8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/cm.vim
Expand Up @@ -420,7 +420,7 @@ func! s:start_core_channel(...)
let s:channel_started = 1

let g:_cm_py3 = get(g:,'python3_host_prog','')
if g:_cm_py3 == '' && has('python3')
if g:_cm_py3 == '' && has('nvim') && has('python3')
" heavy weight
" but better support for python detection
python3 import sys
Expand Down

0 comments on commit 6eff8ba

Please sign in to comment.