Saturday, January 2, 2010

Re: Restoring Sessions turns off filetypes

> Does the :so % works otherwise?
Yes, everything seems to work except the syntax highlighting. The
weird thing is that if I open the session file without the autocmd,
and then immediately type :so %, everything works fine - just not when
I source it from .vimrc!

> set sessionoptions+=localoptions
That did the trick, but I'm still interested in why it worked when
manually sourcing it, but not from .vimrc

Thanks!

Sean

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: