diff --git a/README.md b/README.md index d84d76d..1c49ca5 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ Elixir applications. Extends Elixir's syntax highlighting to support: -- Handlebars inside `~B` sigils. +- Handlebars inside `~HB` sigils. - Handlebars inside triple backtick markdown code blocks. -- JavaScript inside `~j` sigils. +- JavaScript inside `~JS` sigils. - JavaScript inside triple backtick markdown code blocks. -- TypeScript inside `~t` sigils. +- TypeScript inside `~TS` sigils. - TypeScript inside triple backtick markdown code blocks. ## License diff --git a/elixir-cinder.json b/elixir-cinder.json index 9222a7c..1f217d1 100644 --- a/elixir-cinder.json +++ b/elixir-cinder.json @@ -27,7 +27,7 @@ { "comment": "Handlebars sigil with heredoc (double quotes)", "name": "text.html.handlebars", - "begin": "\\s?(~B\"\"\")$", + "begin": "\\s?(~HB\"\"\")$", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -48,7 +48,7 @@ { "comment": "Handlebars sigil with double quotes", "name": "text.html.handlebars", - "begin": "~B\\\"", + "begin": "~HB\\\"", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -69,7 +69,7 @@ { "comment": "Handlebars sigil with square brackets", "name": "text.html.handlebars", - "begin": "~B\\[", + "begin": "~HB\\[", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -90,7 +90,7 @@ { "comment": "Handlebars sigil with parentheses", "name": "text.html.handlebars", - "begin": "~B\\(", + "begin": "~HB\\(", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -111,7 +111,7 @@ { "comment": "Handlebars sigil with curly braces", "name": "text.html.handlebars", - "begin": "~B\\{", + "begin": "~HB\\{", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -153,7 +153,7 @@ { "comment": "JavaScript sigil with heredoc (double quotes)", "name": "source.js", - "begin": "\\s?(~j\"\"\")$", + "begin": "\\s?(~JS\"\"\")$", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -174,7 +174,7 @@ { "comment": "JavaScript sigil with double quotes", "name": "source.js", - "begin": "~j\\\"", + "begin": "~JS\\\"", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -195,7 +195,7 @@ { "comment": "JavaScript sigil with square brackets", "name": "source.js", - "begin": "~j\\[", + "begin": "~JS\\[", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -216,7 +216,7 @@ { "comment": "JavaScript sigil with parentheses", "name": "source.js", - "begin": "~j\\(", + "begin": "~JS\\(", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -237,7 +237,7 @@ { "comment": "JavaScript sigil with curly brackets", "name": "source.js", - "begin": "~j\\{", + "begin": "~JS\\{", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -279,7 +279,7 @@ { "comment": "TypeScript sigil with heredoc (double quotes)", "name": "source.ts", - "begin": "\\s?(~t\"\"\")", + "begin": "\\s?(~TS\"\"\")", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -300,7 +300,7 @@ { "comment": "TypeScript sigil with double quotes", "name": "source.ts", - "begin": "~t\\\"", + "begin": "~TS\\\"", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -321,7 +321,7 @@ { "comment": "TypeScript sigil with square brackets", "name": "source.ts", - "begin": "~t\\[", + "begin": "~TS\\[", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -342,7 +342,7 @@ { "comment": "TypeScript sigil with parentheses", "name": "source.ts", - "begin": "~t\\(", + "begin": "~TS\\(", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" @@ -363,7 +363,7 @@ { "comment": "TypeScript sigil with curly brackets", "name": "source.ts", - "begin": "~t\\{", + "begin": "~TS\\{", "beginCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir" diff --git a/package.json b/package.json index 431821a..f6d6cea 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "HL3-FULL", "repository": { "type": "git", - "url": "https://gitlab.com/jimsy/vscode-cinder.git" + "url": "https://harton.dev/cinder/vscode-cinder.git" }, "engines": { "vscode": "^1.25.1"