diff --git a/plugin/autoformat.vim b/plugin/autoformat.vim index ab94848..4a07428 100644 --- a/plugin/autoformat.vim +++ b/plugin/autoformat.vim @@ -111,7 +111,7 @@ function! s:TryFormatter() " Detect verbosity let verbose = &verbose || exists("g:autoformat_verbosemode") - if !has("python") && !has("python") + if !has("python") && !has("python3") echohl WarningMsg | \ echomsg "WARNING: vim has no support for python, but it is required to run the formatter!" | \ echohl None