Allow vim with +python3 as well.
This commit is contained in:
parent
6eb339b641
commit
977500d769
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user