forked from Quramy/vim-js-pretty-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Like many people, I have an html template tag set up to highlight the literal it is attached to as HTML.
I happen to have a template string like this in my application:
const indexFile = `${publicPath}/index.html`;The end of that file path, html, looks like the start of a tagged literal and is confusing vim-tagged-template into thinking that everything after the end of that string should be highlighted as HTML.
My thought is that this plugin should try to ensure that a possible template tag, like html, is actually being called as such; for example, it could ensure that it is not within a string before starting the highlighting logic.
Metadata
Metadata
Assignees
Labels
No labels