From ba12dfc1b75b1c608b328c230215e80206203555 Mon Sep 17 00:00:00 2001 From: Chiel92 Date: Thu, 11 Jun 2015 09:51:51 +0200 Subject: [PATCH] Add note about python support in README. Related to #54. --- README.md | 3 +++ plugin/autoformat.vim | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 071a1f7..d03495d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ When no formatprogram exists (or no formatprogram is installed) for a certain fi How to install ----------------------- +It is required that your vim has builtin python support. You can check whether this is the case +by running `vim --version` and check that `+python` is listed among features. + ####Vundle Put this in your .vimrc diff --git a/plugin/autoformat.vim b/plugin/autoformat.vim index daf5ed1..2a01ea7 100644 --- a/plugin/autoformat.vim +++ b/plugin/autoformat.vim @@ -113,7 +113,7 @@ function! s:TryFormatter() if !has("python") echohl WarningMsg | - \ echomsg "WARNING: vim has no support for python, but it is necessary to verify the custom formatter!" | + \ echomsg "WARNING: vim has no support for python, but it is required to run the formatter!" | \ echohl None return 1 endif