"files.associations": {
"*.tmpl": "html"
}
add this to settings.json in vs-code and life is good.
On Sunday, October 13, 2019 at 9:49:58 PM UTC+6 Andreas wrote:
> the drawback is when I enter in .gohtml file
>
> ```{{```
>
> then vscode auto-copletes it with
>
> ```}}}```
>
> did you get the same?
>
>
> On Wednesday, September 25, 2019 at 5:18:51 PM UTC+3, Denis Bakhtin wrote:
>
>> This extension works well if templates have .gohtml extension. I had to
>> rename mine.
>>
>> On Monday, September 23, 2019 at 7:25:52 PM UTC+4, [email protected]
>> wrote:
>>>
>>> Is there way to highlight templates files (.tmpl) in VSCode? There is an
>>> extension gotemplate-syntax
>>> <https://marketplace.visualstudio.com/items?itemName=casualjim.gotemplate>
>>> but
>>> seems it doesn't make the job.
>>>
>>>
>>> {{define "side"}}
>>> <h3>New Books</h3>
>>> <p>There's nothing here</p>
>>> {{end}}
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/ff32e974-8039-45c0-9495-1f284dba20c0n%40googlegroups.com.