This will be the go-to resource for writing TextMate grammars at some point in the future. Until then, please refer to the official TextMate documentation and Visual Studio Code syntax highlighting guide.