mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:00:05 +08:00
parent
b85a6f44cc
commit
3d525cb8c4
@ -35,9 +35,12 @@ elseif executable('ag') && !exists('g:ctrlp_user_command')
|
|||||||
elseif s:SYS.isWindows
|
elseif s:SYS.isWindows
|
||||||
let g:ctrlp_user_command =
|
let g:ctrlp_user_command =
|
||||||
\ 'dir %s /-n /b /s /a-d | findstr /v /l ".jpg \\tmp\\"' " Windows
|
\ 'dir %s /-n /b /s /a-d | findstr /v /l ".jpg \\tmp\\"' " Windows
|
||||||
|
elseif s:SYS.isOSX
|
||||||
|
let g:ctrlp_user_command =
|
||||||
|
\ 'find %s -type f | grep --invert-match --extended-regexp "\.jpg$|/tmp/"' " MacOSX
|
||||||
else
|
else
|
||||||
let g:ctrlp_user_command =
|
let g:ctrlp_user_command =
|
||||||
\ 'find %s -type f | grep -v -P "\.jpg$|/tmp/"' " MacOSX/Linux
|
\ 'find %s -type f | grep -v -P "\.jpg$|/tmp/"' " Linux
|
||||||
endif
|
endif
|
||||||
if !exists('g:ctrlp_match_func') && (has('python') || has('python3'))
|
if !exists('g:ctrlp_match_func') && (has('python') || has('python3'))
|
||||||
let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' }
|
let g:ctrlp_match_func = { 'match': 'pymatcher#PyMatch' }
|
||||||
|
Loading…
Reference in New Issue
Block a user