-
Notifications
You must be signed in to change notification settings - Fork 75
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
able to customize template tag aside from 'html' (TemplateResult) #64
Comments
This is problem for me too. My function name is also called template, but when I use
I only get intellisense, the whole string is colored green. Could you make the settings.json when we edit and add a new tag that it loads both html colors AND intellisense... Thanks! |
As a temporary workaround, you can edit the extension files directly. Go to
...to contain "template" or whatever other tag(s) you want to use. You'll need to restart VSCode to see the change. |
This config features appears to be broken. Adding the following to settings does not work: "lit-html.tags": [
"html",
"raw",
"banana"
], const template = banana`<span>no syntax highlighting :(</span>` I can confirm the monkey-patch work around suggested by @rzahniser works. For those wondering, the path referred to is in your home directory. |
Why is this config still broken? Is the only way of making this work to fork the repo and do what @rzahniser sugguested? I need syntax highlighting for
|
i create my own template result like
i want to have syntax coloring.
The text was updated successfully, but these errors were encountered: