Thank you all, guys, for response. Actually the patch i attached is not perfect: it may lead to segfaults if bufhidden is empty. Currently i am working on another patch which fixes the issue, and i am struggling with syntax issue which is not working if dbext plugin is used because dbext uses additional BufReadPost autocmd which somehow prevents syntax in buffer where we return from highlighting. If i remove this single autocmd then syntax works fine. Surprisingly it does not matter which content of this autocmd is, it only matters the fact of presence of autocmd itself. Looks weird.
2011/11/15 Thilo Six <[email protected]> > Alexey Radkov wrote the following on 14.11.2011 20:41 > > Hello Alexey, > > -- <snip> -- > > You will be returned to the original file, but... Now there is no > > syntax highlight and ':ls' will show that there is no current buffer! > > ':ls!' will show that the current buffer is unloaded. Same behaviour > > can be found when using quickfix window instead tabpage. > -- <snip> -- > > > Thank you for the detailed analysis and the patch. I assume that your > foundings > are also related to an issue that i had myself recently without being able > to > come to any useful solution. > http://thread.gmane.org/gmane.editors.vim > /100772<http://thread.gmane.org/gmane.editors.vim/100772> > > -- > Regards, > Thilo > > 4096R/0xC70B1A8F > 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F > > > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
