Skip to content

Possible to make it work with JavaScript? #19

@hrishikesh-k

Description

@hrishikesh-k

Hello.

This extension works great for HTML files. Thank you for that. However, I was wondering if it's possible to be able to clear off those errors from my workspace when using Hugo snippets in JavaScript (via <script> tags or external JS files).

Currently, this is happening:

in HTML file:
image

in JS file:

image

Because of this, I'm unable to use syntax and error highlighting of VSC as I don't realise if I have actually made a syntax error or if it's just because of Hugo's snippets. Thus, if you'd be able to add ability to highlight in these files, it'd be just amazing!

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions