# HG changeset patch # User Leonardo Valeri Manera # Date 1665796873 -7200 # Node ID f75a8cddf174c99b7944bf992ea278133a4a948d # Parent 0ebd3b1710aa9298577f19485fea7302f180c3d3 Support powershell * Powershell takes double quoted "arguments" literally and just errors out on a gutentags call * You could unquote all the strings and try to deal with the mess that is * Or you can just prepend '& ' to the whole thing and it automagically works diff -r 0ebd3b1710aa -r f75a8cddf174 autoload/gutentags.vim --- a/autoload/gutentags.vim Sat Oct 08 23:25:13 2022 +0800 +++ b/autoload/gutentags.vim Sat Oct 15 03:21:13 2022 +0200 @@ -103,7 +103,11 @@ " into a list of unquoted arguments on Unix/Mac. if has('win32') || has('win64') function! gutentags#make_args(cmd) abort - return join(a:cmd, ' ') + if &shell == 'pwsh' || &shell == 'powershell' + return '& ' . join(a:cmd, ' ') + else + return join(a:cmd, ' ') + endif endfunction else function! gutentags#make_args(cmd) abort