parent
72e3aba0e2
commit
2a598aeea9
@ -175,12 +175,12 @@ fu! s:DirAndFile(entries)
|
|||||||
en | el
|
en | el
|
||||||
cal add(items[0], each)
|
cal add(items[0], each)
|
||||||
en
|
en
|
||||||
el
|
elsei etype == 'link'
|
||||||
if s:folsym
|
if s:folsym
|
||||||
cal add(items[1], each)
|
cal add(items[!isdirectory(each)], each)
|
||||||
el | if etype != 'link'
|
en
|
||||||
cal add(items[1], each)
|
el
|
||||||
en | en
|
cal add(items[1], each)
|
||||||
en
|
en
|
||||||
endfo
|
endfo
|
||||||
retu items
|
retu items
|
||||||
|
@ -10,7 +10,7 @@ if exists('g:loaded_ctrlp_line') && g:loaded_ctrlp_line
|
|||||||
en
|
en
|
||||||
let g:loaded_ctrlp_line = 1
|
let g:loaded_ctrlp_line = 1
|
||||||
|
|
||||||
let s:line_var = ['ctrlp#line#init()', 'ctrlp#line#accept', 'lines', 'line']
|
let s:line_var = ['ctrlp#line#init()', 'ctrlp#line#accept', 'lines', 'lns']
|
||||||
|
|
||||||
let g:ctrlp_ext_vars = exists('g:ctrlp_ext_vars') && !empty(g:ctrlp_ext_vars)
|
let g:ctrlp_ext_vars = exists('g:ctrlp_ext_vars') && !empty(g:ctrlp_ext_vars)
|
||||||
\ ? add(g:ctrlp_ext_vars, s:line_var) : [s:line_var]
|
\ ? add(g:ctrlp_ext_vars, s:line_var) : [s:line_var]
|
||||||
|
Loading…
Reference in New Issue
Block a user