thinca / vim-quickrun

Run commands quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magic output bufname opens duplicate output windows

bootleq opened this issue · comments

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 . '$'

Thank you for the report.
Fixed 51406a1

The previous change was wrong in some situation.
I fixed again for this: d8f4761
I believe this is finally fixed, but you can report if there are problems.