diff --git a/package.json b/package.json index 098c6c1..acdcf19 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "python-string-sql", "displayName": "python-string-sql", "description": "highlight python strings as sql", - "version": "1.1.0", + "version": "1.2.0", "publisher": "ptweir", "icon": "docs/logo.png", "repository": { @@ -21,7 +21,8 @@ "path": "./syntaxes/highlight-sql-string.json", "scopeName": "python-sql.injection", "injectTo": [ - "source.python" + "source.python", + "source.coconut" ], "embeddedLanguages": { "meta.embedded.sql": "sql" @@ -31,7 +32,8 @@ "path": "./syntaxes/highlight-html-string.json", "scopeName": "python-html.injection", "injectTo": [ - "source.python" + "source.python", + "source.coconut" ], "embeddedLanguages": { "meta.embedded.block.html": "html" @@ -51,7 +53,7 @@ "mac": "ctrl+s", "when": "editorTextFocus", "args": { - "langId": "python", + "langId": ["python", "coconut"], "name": "SQL_highlighted_string" } } diff --git a/syntaxes/highlight-html-string.json b/syntaxes/highlight-html-string.json index 85af0c1..aecaf03 100644 --- a/syntaxes/highlight-html-string.json +++ b/syntaxes/highlight-html-string.json @@ -1,6 +1,9 @@ { "fileTypes": [ - "py" + "py", + "coc", + "coco", + "coconut" ], "injectionSelector": "L:string.quoted.multi.python, L:meta.fstring.python - (comment.line.number-sign.python, punctuation.definition.comment.python)", "repository": { @@ -54,4 +57,4 @@ } ], "scopeName": "python-html.injection" -} \ No newline at end of file +} diff --git a/syntaxes/highlight-sql-string.json b/syntaxes/highlight-sql-string.json index 50ad41e..a88f333 100644 --- a/syntaxes/highlight-sql-string.json +++ b/syntaxes/highlight-sql-string.json @@ -1,6 +1,9 @@ { "fileTypes": [ - "py" + "py", + "coc", + "coco", + "coconut" ], "injectionSelector": "L:string.quoted.multi.python, L:meta.fstring.python - (comment.line.number-sign.python, punctuation.definition.comment.python)", "patterns": [ @@ -20,4 +23,4 @@ } ], "scopeName": "python-sql.injection" -} \ No newline at end of file +}