Skip to content

Commit

Permalink
chore: fix template tags in strings
Browse files Browse the repository at this point in the history
Make sure `<template>`s are not highlighted inside strings
  • Loading branch information
lifeart authored Jul 20, 2023
2 parents 4a1b725 + eccb858 commit 52484aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntaxes/inline-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"fileTypes": ["gjs", "gts"],
"injectionSelector": "L:source.gjs -comment, L:source.gts -comment",
"injectionSelector": "L:source.gjs -comment -(string -meta.embedded), L:source.gts -comment -(string -meta.embedded)",
"patterns": [
{
"name": "meta.js.embeddedTemplateWithoutArgs",
Expand Down

0 comments on commit 52484aa

Please sign in to comment.