Syntax highliting for Hugo templating for Sublime Text

I use Sublime Text 3 for maintaining my theme. I was just wondering if there’s a way to set up Sublime Text for Hugo templating. By default, it does separately provide Go and HTML syntax highlighting. Do any of you know how to do so? I want to get a mix of both.

Does sublime let you do something like this (a vscode example) ?

Also, maybe you could port this from vscode to sublime

https://marketplace.visualstudio.com/items?itemName=budparr.language-hugo-vscode

1 Like

I’m pretty sure the answer is no.

That said, I have now started to use VS Code and I’m impressed about that package (and its extensions, including the one mentioned above).

1 Like

I guess I’ll have to switch toVSCode since I feel that Sublime Text is being phased out.

An update for anyone who looks for it, Go HTML template syntax highlighting for Sublime Text · GitHub is exactly what OP was asking for

2 Likes