runem / lit-analyzer

Monorepository for tools that analyze lit-html templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom lit-plugin.htmlTemplateTags does not offer syntax highlighting

JRJurman opened this issue · comments

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

Potentially related to #203

I have the same issue. Any solution for it?

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.