Skip to content

Commit 61c476b

Browse files
committed
use pymode even for python3
pymode works for python 3 (python-mode/python-mode#197). So far, this update (allowing it when python3 is present) seems to work fine for me.
1 parent d617e75 commit 61c476b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@
603603

604604
" PyMode {
605605
" Disable if python support not present
606-
if !has('python')
606+
if !has('python') && !has('python3')
607607
let g:pymode = 0
608608
endif
609609

0 commit comments

Comments
 (0)