Skip to content

Commit

Permalink
use python if pythonx is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
gokcehan committed Dec 15, 2017
1 parent d785f89 commit 1874335
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ftplugin/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ if !has('python') && !has('python3')
finish
endif

let b:opex_cmd = 'pythonx'
let b:opex_cmd = 'python'
if has('pythonx')
let b:opex_cmd = 'pythonx'
endif

let b:opex_execute_func = 'opex#execute'
let b:opex_append_func = 'opex#append'

Expand Down

0 comments on commit 1874335

Please sign in to comment.