Allow vim with +python3 as well.

This commit is contained in:
Chiel92 2015-06-19 13:38:20 +02:00
parent 6eb339b641
commit 977500d769

View File

@ -111,7 +111,7 @@ function! s:TryFormatter()
" Detect verbosity
let verbose = &verbose || exists("g:autoformat_verbosemode")
if !has("python")
if !has("python") && !has("python")
echohl WarningMsg |
\ echomsg "WARNING: vim has no support for python, but it is required to run the formatter!" |
\ echohl None