-
Notifications
You must be signed in to change notification settings - Fork 17
No syntax highlighting for automatic session loading. #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yeah there was an attempted fix (#12) but that PR broke gitsessions completely. Either the session loaded with syntax highlighting or didn't load at all. I figured that partially loading w/o syntax highlighting was a better alternative than complete breakage. |
I'm using a custom script but I had the same issue when restoring the sessions, this answer solved my problem: http://stackoverflow.com/a/10525050 |
Thanks for the comment @simonwahlgren, but the nested call that fixed the syntax highlighting issue broke session reloading. |
Just for the record, the fix from #12 fixed the syntax highlighting for me. I think it is because I'm only saving the buffers ( |
Loading a vim session explicitly with
vim -S ~/.vim/sessions/path/to/my/gitsessions/vim/session
results in expected syntax highlighting.Loading a vim session automatically with
vim
results in no syntax highlighting. Reloading the file(s) with:e
and I get the syntax highlighting expected.The text was updated successfully, but these errors were encountered: