diff --git a/README.md b/README.md index cca2998..f221514 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VSCode Inline SQL Highlight -VSCode extension that highlights the SQL queries from your code if you have a ```/*sql*/``` comment in front of the string that contains SQL. +VSCode extension that highlights the SQL queries from your code if you have a ```/* sql */``` comment in front of the string that contains SQL. ## Before diff --git a/package.json b/package.json index 07cd1cc..44e325c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-inline-sql-highlight", "displayName": "Inline SQL Highlight", "description": "Highlights the SQL queries from your code", - "version": "0.1.1", + "version": "0.1.2", "publisher": "derefs", "license": "MIT", "repository": { diff --git a/syntaxes/inline-sql.json b/syntaxes/inline-sql.json index 1c5c98b..061af0f 100644 --- a/syntaxes/inline-sql.json +++ b/syntaxes/inline-sql.json @@ -5,7 +5,7 @@ { "name": "sqlQueries", "contentName": "meta.embedded.block.sql", - "begin": "..sql.. ?((`))", + "begin": ".. ?sql ?.. ?((`))", "beginCaptures": { "1": { "name": "entity.name.function.tagged-template.js" @@ -37,4 +37,4 @@ } ], "scopeName": "inline.sql" -} \ No newline at end of file +}