aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/autoload/ctrlp/buffertag.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ctrlp/buffertag.vim')
-rw-r--r--autoload/ctrlp/buffertag.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/ctrlp/buffertag.vim b/autoload/ctrlp/buffertag.vim
index 4f75e6d..3eecddc 100644
--- a/autoload/ctrlp/buffertag.vim
+++ b/autoload/ctrlp/buffertag.vim
@@ -167,6 +167,8 @@ fu! s:esctagscmd(bin, args, ...)
endif
if &sh =~ 'cmd\.exe'
let cmd = substitute(cmd, '[&()@^<>|]', '^\0', 'g')
+ elsei &sh =~? '\vpowershell\|pwsh'
+ let cmd = substitute(cmd, '[()]', '`\0', 'g')
en
if exists('+ssl')
let &ssl = ssl