runtime(doc): fix inconsistent indent in cmdline.txt
Also fix typo in autoload/netrw.vim. related: #18371 closes: #18376 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b6f9d38f96
commit
1ae980a9cb
@ -1425,10 +1425,10 @@ file picker: >
|
||||
|
||||
set findfunc=Find
|
||||
func Find(arg, _)
|
||||
if empty(s:filescache)
|
||||
let s:filescache = globpath('.', '**', 1, 1)
|
||||
call filter(s:filescache, '!isdirectory(v:val)')
|
||||
call map(s:filescache, "fnamemodify(v:val, ':.')")
|
||||
if empty(s:filescache)
|
||||
let s:filescache = globpath('.', '**', 1, 1)
|
||||
call filter(s:filescache, '!isdirectory(v:val)')
|
||||
call map(s:filescache, "fnamemodify(v:val, ':.')")
|
||||
endif
|
||||
return a:arg == '' ? s:filescache : matchfuzzy(s:filescache, a:arg)
|
||||
endfunc
|
||||
|
||||
Reference in New Issue
Block a user