xolox/vim-session — Issue #13: Won't autoset filetype with filetype on after calling OpenSession
Author: zbuc
Created: 2012-01-12 20:59:49+00:00
State: open

I call OpenSession as soon as vim starts to resume my previous editing session.

Everything looks OK -- my NERDTree window comes back fine, and my editor pane comes back but my syntax highlighting is not automatically enabled. `:set filetype` returns nothing.

If I open a file with vim directly, the filetype does get appropriately set, just not when resuming a session.