Added separate entry point to distinguish bufenter

There was a bug where a buffer would have proper highlighting but then
switching to a buffer which failed to compile would not reset the old
buffer's highlighting.