changeset 408:1da269c50dca

Fix python 2/3 loading order problem in Vim.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 10 Jan 2018 00:02:16 -0800
parents c6da0c9f40ae
children 63463782d1cd
files vim/vimrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vim/vimrc	Wed Jan 10 00:00:00 2018 -0800
+++ b/vim/vimrc	Wed Jan 10 00:02:16 2018 -0800
@@ -273,7 +273,7 @@
             \]
 
 " Use PyMatch to go faster.
-if has('python') || has('python3')
+if has('python3') || has('python')
   let g:ctrlp_match_func = {'match': 'pymatcher#PyMatch'}
   let g:ctrlp_max_files = 0
   let g:ctrlp_lazy_update = 350