danchoi/vmail — pull request #87 by grota (2012-05-26 08:58:36+00:00)
Title: Fix syntax highlighting.

This diff fixes an issue that I have while displaying the message list.
The problem is that I don't have syntax highlighting enables as soon as the message list shows up.
This is due to the fact that the BufEvent is triggered before the autocmd is defined.
After I reload the buffer with an `:e` the `BufEnter` event is triggered and all is good.
This diff sets the filetype of the vmailbuffer to `vmail`, and binds the `set_list_colors()` call to the `FileType vmail` event, therefore avoiding the original race condition.