Magic output bufname opens duplicate output windows
bootleq opened this issue · comments
莊喬 commented
Hi, the changes in 70e760e seems no longer match bufname contains magic characters, for example
:QuickRun -command 'ls' -outputter/buffer/bufname '[v]'
fails finding opened output buffer (named [v]
), thus lead to open second output.
Add a \M
flag to the pattern might not satisfy all buffer names, but does help in my use case, do you think this solution ok? Thanks.
return '^\M' . a:pat . '$'