language-hugo package
Adds a grammar for the Go Templating system used by Hugo.
.html
files
Using this grammar for Hugo gives template files the .html
extension. To have Pulsar prefer this grammar over the built-in HTML grammar for .html
files, follow these instructions. Your config should look like this:
'*':
core:
customFileTypes:
'text.html.gotmpl': [
'html'
]
If you’d like this behavior only on certain projects, atomic-management or project-config will let you define this setting in a project-specific overrides file.