Skip to content

Commit 115ee37

Browse files
committed
Customizable compare_lim
Close #191
1 parent 7f74368 commit 115ee37

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

autoload/ctrlp.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ let [s:pref, s:bpref, s:opts, s:new_opts, s:lc_opts] =
9393
\ 'open_single_match': ['s:opensingle', []],
9494
\ 'brief_prompt': ['s:brfprt', 0],
9595
\ 'match_current_file': ['s:matchcrfile', 0],
96+
\ 'compare_lim': ['s:compare_lim', 3000],
9697
\ }, {
9798
\ 'open_multiple_files': 's:opmul',
9899
\ 'regexp': 's:regexp',
@@ -152,8 +153,6 @@ if !has('gui_running')
152153
cal add(s:prtmaps['PrtBS()'], remove(s:prtmaps['PrtCurLeft()'], 0))
153154
en
154155

155-
let s:compare_lim = 3000
156-
157156
let s:ficounts = {}
158157

159158
let s:ccex = s:pref.'clear_cache_on_exit'

0 commit comments

Comments
 (0)