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

Possible to make it work with JavaScript? #19

Open
hrishikesh-k opened this issue Dec 3, 2020 · 2 comments
Open

Possible to make it work with JavaScript? #19

hrishikesh-k opened this issue Dec 3, 2020 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@hrishikesh-k
Copy link

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!

@larsendaniel
Copy link

Yes! I just came here to post the same issue and am happy to see someone else already reported it. It would be great if this could get fixed somehow.

@gonsen71
Copy link

Would be nice also to add it for CSS!

Screenshot-2022-01-21T17:30:47

Also needs resources.ExecuteAsTemplate to process it.

@budparr budparr added the help wanted Extra attention is needed label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants