Invoke syntax detection on an activation event.

Otherwise files will not be highlighted until the next event.