From 56ccc43f3b7a8d1269eeb3f912da7feee67007d3 Mon Sep 17 00:00:00 2001 From: Enno Date: Tue, 19 Mar 2024 08:12:35 +0100 Subject: [PATCH] allow passing file path to shell see :help filename-modifiers --- autoload/asyncdo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/asyncdo.vim b/autoload/asyncdo.vim index 7c53ecf..c67e739 100644 --- a/autoload/asyncdo.vim +++ b/autoload/asyncdo.vim @@ -17,7 +17,7 @@ endfunc " expand filename-modifiers explicitly func! s:fnameexpand(str) abort - return substitute(a:str, '\v\\=%(\%|\#)%(\:[phrte])*', {a->expand(a[0])}, 'g') + return substitute(a:str, '\v\\=%(\%|\#)%(\:[phrte~.S])*', {a->expand(a[0])}, 'g') endfunc " prepare backslashes for shell consumption via job logic in s:build