Use unix slashes in ripgrep search results

This commit is contained in:
Michael Campagnaro 2024-01-20 22:19:32 -05:00
parent dc88f6cc36
commit 2a6522b4b7

3
.vimrc
View File

@ -1536,7 +1536,10 @@ fu! Search(path, search_args, case_insensitive=0)
let l:format = 'Rg ' . l:rg_args . ' ' . a:path . ' -e %s'
let l:cmd = printf(l:format, shellescape(l:escaped_term))
exec l:cmd
call ConvertQuickfixPathsToUnixSlashes()
endfu
fu! SearchExt(path, search_args, case_insensitive=0)