mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 12:40:05 +08:00
fix todo manager with rg 13.0 (#4383)
This commit is contained in:
parent
3e9b52af78
commit
48e701e006
@ -76,6 +76,8 @@ function! s:update_todo_content() abort
|
|||||||
let argv += ['.']
|
let argv += ['.']
|
||||||
elseif s:SYS.isWindows && s:grep_default_exe ==# 'findstr'
|
elseif s:SYS.isWindows && s:grep_default_exe ==# 'findstr'
|
||||||
let argv += ['*.*']
|
let argv += ['*.*']
|
||||||
|
elseif !s:SYS.isWindows && s:grep_default_exe ==# 'rg'
|
||||||
|
let argv += ['./']
|
||||||
endif
|
endif
|
||||||
let argv += s:grep_default_ropt
|
let argv += s:grep_default_ropt
|
||||||
call s:LOG.info('cmd: ' . string(argv))
|
call s:LOG.info('cmd: ' . string(argv))
|
||||||
|
Loading…
Reference in New Issue
Block a user