you should check the syntax definition used instead of extension. that's a bit cleaner. i saw one of the official plugins do that.