facelessuser/ApplySyntax — pull request #39 by paulp (2014-01-04 17:53:41+00:00)
Title: Invoke syntax detection on an activation event.

Due to [this maddening bug](https://github.com/SublimeText/Issues/issues/27) I invoke sublime from the command line with [this wrapper](https://github.com/paulp/homebrew-extras/blob/master/bin/subl). As a consequence, it seems that the event which kicks for a newly opened file is an "activation" event and not a "load" event. ApplySyntax doesn't have a hook for an activation event, so this leaves my newly opened files in a uniform dull grey rather than nicely colored, until some other event kicks, e.g. after I write to the file once - which of course may never happen.