Closed idbrii closed 9 years ago
I'm guessing you got this because the 'switchbuf' option was set.
Internally, a new tab is always opened for replacements and closed afterwards.
execute 'tab sbuffer ' . change.qfEntry.bufnr
...
tabclose
If the new tab failed to open because 'switchbuf' was set, that would explain the error. Should be fixed now.
You're right I have switchbuf=useopen
and 3958eff fixes that problem.
While looking at it, I noticed something else that seems unrelated but with similar steps. I filed a separate bug.
I get an error when I have one of the files open that are modified in the quickfix. Perhaps it's possible to silence the error (since it seems to have no negative effect) or check for closing a tab not opened by quickfix-reflector?
Example file based on Visual Studio C++ output format (save as C:/temp/c.out)
and c.txt:
On Windows Vim 7.4 and 46cc2441cca39474a37f354d17f01193528c4b7a, I use these commands:
And then change "some" to "more" and :w and I get errors: