These files are part of the GoSublime package by DisposaBoy.
Hello friends. It is always very annoying to write HTML templates for a Go application in Sublime Text, and only have the HTML part of the code highlighted. Those white lines of code -- which are the most important parts of the template files -- are just not pleasant to the eye.
Luckily, DisposaBoy has made a syntax highlighter for Go HTML templates in the GoSublime package (which can be installed using Package Control), but what if you don't actually want to install the whole package just to have syntax highlighting?
The files from this gist do all the job for you and you won't even have to install the whole package! (I highly recommend you do, though -- it's really useful!)
Just save these two files into the Packages/User
folder (Preferences -> Browse Packages
, and then the User
folder) and you're all set!
GoSublime (c) DisposaBoy.
Thank you so much for this! I'm working on a site with Hugo (no actual Go development, but Go templating) and this is exactly what I needed.
I can't find GoSublime in the 'Package Control: Install Package' search dropdown, plus there's this https://github.com/DisposaBoy/GoSublime#installation--support so my impression is that GoSublime no longer supports installation via Package Control though I could be wrong.