From 977500d7697ae13ae5f7f4b419ba83c7a10ddac7 Mon Sep 17 00:00:00 2001 From: Chiel92 Date: Fri, 19 Jun 2015 13:38:20 +0200 Subject: [PATCH] Allow vim with +python3 as well. --- plugin/autoformat.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/autoformat.vim b/plugin/autoformat.vim index ac3c67e..ab94848 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") + 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