The new buffer-tag PowerShell branch never matches normal shell names:
:echo 'pwsh.exe' =~? '\vpowershell\|pwsh'
" 0
:echo 'pwsh.exe' =~? '\vpowershell|pwsh'
" 1
With \v, \| is a literal pipe. Line 170 should use '\vpowershell|pwsh', as the UserCmd check already does. Verified on Vim 9.2.1119.
The new buffer-tag PowerShell branch never matches normal shell names:
With
\v,\|is a literal pipe. Line 170 should use'\vpowershell|pwsh', as the UserCmd check already does. Verified on Vim 9.2.1119.