1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:20:05 +08:00

fix todo manager with rg 13.0 (#4383)

This commit is contained in:
Jozsef Lazar 2021-08-10 19:16:08 +02:00 committed by GitHub
parent 3e9b52af78
commit 48e701e006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,8 @@ function! s:update_todo_content() abort
let argv += ['.']
elseif s:SYS.isWindows && s:grep_default_exe ==# 'findstr'
let argv += ['*.*']
elseif !s:SYS.isWindows && s:grep_default_exe ==# 'rg'
let argv += ['./']
endif
let argv += s:grep_default_ropt
call s:LOG.info('cmd: ' . string(argv))