diff --git a/autoload/pymatcher.vim b/autoload/pymatcher.vim index 72a99ef..a3fa312 100644 --- a/autoload/pymatcher.vim +++ b/autoload/pymatcher.vim @@ -1,6 +1,6 @@ " Python Matcher -if !has('python') && !has('python3') +if !has('python3') && !has('python') echo 'In order to use pymatcher plugin, you need +python or +python3 compiled vim' endif diff --git a/doc/pymatcher.txt b/doc/pymatcher.txt index 55df6d3..56127ff 100644 --- a/doc/pymatcher.txt +++ b/doc/pymatcher.txt @@ -36,8 +36,8 @@ INSTALL *pymatcher-install* To enable |pymatcher| insert the following in your .vimrc: > " PyMatcher for CtrlP - if !has('python') - echo 'In order to use pymatcher plugin, you need +python compiled vim' + if !has('python3') && !has('python') + echo 'In order to use pymatcher plugin, you need +python or +python3 compiled vim' else let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' } endif