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