Skip to content

Commit

Permalink
Use the same Python version as YCM
Browse files Browse the repository at this point in the history
Merge pull request #8 from real-or-random/master
  • Loading branch information
davits authored May 10, 2018
2 parents cf3d86c + 4a9fe8a commit b915e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/dyevim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ set cpo&vim

let s:script_folder_path = escape( expand( '<sfile>:p:h' ), '\' )
let s:current_filetype = ''
let s:py = has('python') ? "py" : "py3"
let s:python_eof = has('python') ? "python << EOF" : "python3 << EOF"
let s:py = has('python3') ? "py3" : "py"
let s:python_eof = has('python3') ? "python3 << EOF" : "python << EOF"

function! dyevim#Enable()
if &diff
Expand Down

0 comments on commit b915e4d

Please sign in to comment.