From 3eeb5c896c8eb360a1454a21259023c94c1fc7f0 Mon Sep 17 00:00:00 2001 From: Alexey Balchunas Date: Thu, 28 Jul 2016 10:00:08 +0300 Subject: [PATCH] Always use g:ctrlp_by_filename option --- autoload/ctrlp.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index 000e6b82..f387192a 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -296,6 +296,9 @@ endf "}}}1 " * Open & Close {{{1 fu! s:Open() + if exists('g:ctrlp_by_filename') + let s:byfname = g:ctrlp_by_filename + endif cal s:log(1) cal s:getenv() cal s:execextvar('enter')