Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlighting HTML in Go template #12

Open
xermus opened this issue Mar 19, 2022 · 1 comment
Open

Highlighting HTML in Go template #12

xermus opened this issue Mar 19, 2022 · 1 comment

Comments

@xermus
Copy link

xermus commented Mar 19, 2022

When I open any given *.tmpl file the HTML is not highlighted. I thought your extension is doing this? If no, what is the suggested way enabling both Go and HTML in a *.tmpl file?

PS: I am new to Go, sorry for asking.

@CyrilDumange
Copy link

Hey, in the description, it says :

Support syntax highlighting for Go Template files: *.go.txt, *.go.tpl, *.go.tmpl, *.gtpl.

So this extension support ".go.tmpl" but not ".tmpl"

Would it be possible to add the basic extension as ".go.tmpl" is not the default go extension used for templating (if I'm not mistaken)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants