On Oct 25, 10:23 am, Peng Yu <[email protected]> wrote: > On Fri, Oct 21, 2011 at 6:21 AM, Thilo Six <[email protected]> wrote: > > Peng Yu wrote the following on 21.10.2011 03:00 > > > Hello, > > >> Suppose that I open 3 .R files with "gvim -o". All the three .R files > >> are correctly syntax highlighted. However, if I use :bd to close one > >> window, the next window's syntax highlight will be gone. > > -- <snip> -- > > > I had the same rescently. > > :set hidden > > > fixed it for me. > > This works. Thank you! > I'm glad it works, but something is wrong here.
Syntax highlight is local to a buffer. If you have 3 separate buffers opened in 3 separate Windows, deleting one buffer (and closing its window) should have no effect on the other buffers/windows. -- You received this message from the "vim_use" 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
