Skip to content

Commit

Permalink
feat: add support for html
Browse files Browse the repository at this point in the history
  • Loading branch information
schoero committed Sep 1, 2024
1 parent 0dab0e8 commit 95057f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.4",
"version": "0.1.0",
"type": "module",
"name": "vscode-tailwindcss-syntax-highlighting",
"displayName": "Syntax Highlighting for Tailwind CSS",
Expand Down Expand Up @@ -54,6 +54,7 @@
"ts",
"jsx",
"tsx",
"html",
"syntax",
"highlighting"
],
Expand All @@ -67,6 +68,7 @@
"grammars": [
{
"embeddedLanguages": {
"meta.tag.html": "html",
"meta.tag.js": "js",
"meta.tag.jsx": "jsx",
"meta.tag.ts": "ts",
Expand All @@ -76,7 +78,8 @@
"source.js",
"source.jsx",
"source.ts",
"source.tsx"
"source.tsx",
"text.html"
],
"path": "./syntaxes/tailwindcss.json",
"scopeName": "source.tailwindcss"
Expand Down
2 changes: 1 addition & 1 deletion syntaxes/tailwindcss.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"injectionSelector": "L:source.js -comment, L:source.ts -comment, L:source.jsx -comment, L:source.tsx -comment",
"injectionSelector": "L:source.js -comment, L:source.ts -comment, L:source.jsx -comment, L:source.tsx -comment, L:text.html -comment",
"name": "tailwindcss syntax highlighting",
"patterns": [
{
Expand Down

0 comments on commit 95057f2

Please sign in to comment.