runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
317 stars 36 forks source link

Custom lit-plugin.htmlTemplateTags does not offer syntax highlighting #304

Open JRJurman opened 1 year ago

JRJurman commented 1 year ago

Not sure if this is an issue with the plugin, or some other config as part of vscode, but after adding a new tag (define), I'm not seeing my editor do any syntax highlighting for the template tag.

"lit-plugin.htmlTemplateTags": [
  "html",
  "raw",
  "define"
]

image

JRJurman commented 1 year ago

Potentially related to #203

akstek commented 9 months ago

I have the same issue. Any solution for it?

JRJurman commented 9 months ago

I did a dig through the code a long while back after posting this issue, and I don't think this functionality ever worked as expected. I've since migrated away from offering this logic in Javascript, and instead opt-ing to use <template> tags in HTML. Still, it seems like this should probably be removed from the API if there isn't actual support to set this.