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

No syntax highlighting in files that start with {{- /* Go Template */ -}} #1

Open
danny-does-stuff opened this issue Sep 30, 2020 · 3 comments

Comments

@danny-does-stuff
Copy link

danny-does-stuff commented Sep 30, 2020

As the title says, I am not getting syntax highlighting in files that start with the suggested Go Template comment. I tried both {{- /* Go Template */ -}} and {{- /* Go Template file */ -}} which are both suggested in the readme, but neither seemed to work.

I'm happy to troubleshoot with you if needed

@jinliming2
Copy link
Owner

Currently, this only works with files that VSCode cannot recognize: file without extension name or file with any extension name that not registered in VSCode.

@danny-does-stuff
Copy link
Author

Alright thanks for the response!

@jinliming2
Copy link
Owner

@dannyharding10 You can refer to alternatives: #3 (comment)

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