improvement: Use new multi letter sigils.
This commit is contained in:
parent
a46f86088e
commit
472c1d242b
3 changed files with 19 additions and 19 deletions
|
@ -7,11 +7,11 @@ Elixir applications.
|
||||||
|
|
||||||
Extends Elixir's syntax highlighting to support:
|
Extends Elixir's syntax highlighting to support:
|
||||||
|
|
||||||
- Handlebars inside `~B` sigils.
|
- Handlebars inside `~HB` sigils.
|
||||||
- Handlebars inside triple backtick markdown code blocks.
|
- Handlebars inside triple backtick markdown code blocks.
|
||||||
- JavaScript inside `~j` sigils.
|
- JavaScript inside `~JS` sigils.
|
||||||
- JavaScript inside triple backtick markdown code blocks.
|
- JavaScript inside triple backtick markdown code blocks.
|
||||||
- TypeScript inside `~t` sigils.
|
- TypeScript inside `~TS` sigils.
|
||||||
- TypeScript inside triple backtick markdown code blocks.
|
- TypeScript inside triple backtick markdown code blocks.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Handlebars sigil with heredoc (double quotes)",
|
"comment": "Handlebars sigil with heredoc (double quotes)",
|
||||||
"name": "text.html.handlebars",
|
"name": "text.html.handlebars",
|
||||||
"begin": "\\s?(~B\"\"\")$",
|
"begin": "\\s?(~HB\"\"\")$",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Handlebars sigil with double quotes",
|
"comment": "Handlebars sigil with double quotes",
|
||||||
"name": "text.html.handlebars",
|
"name": "text.html.handlebars",
|
||||||
"begin": "~B\\\"",
|
"begin": "~HB\\\"",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Handlebars sigil with square brackets",
|
"comment": "Handlebars sigil with square brackets",
|
||||||
"name": "text.html.handlebars",
|
"name": "text.html.handlebars",
|
||||||
"begin": "~B\\[",
|
"begin": "~HB\\[",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Handlebars sigil with parentheses",
|
"comment": "Handlebars sigil with parentheses",
|
||||||
"name": "text.html.handlebars",
|
"name": "text.html.handlebars",
|
||||||
"begin": "~B\\(",
|
"begin": "~HB\\(",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
{
|
{
|
||||||
"comment": "Handlebars sigil with curly braces",
|
"comment": "Handlebars sigil with curly braces",
|
||||||
"name": "text.html.handlebars",
|
"name": "text.html.handlebars",
|
||||||
"begin": "~B\\{",
|
"begin": "~HB\\{",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
{
|
{
|
||||||
"comment": "JavaScript sigil with heredoc (double quotes)",
|
"comment": "JavaScript sigil with heredoc (double quotes)",
|
||||||
"name": "source.js",
|
"name": "source.js",
|
||||||
"begin": "\\s?(~j\"\"\")$",
|
"begin": "\\s?(~JS\"\"\")$",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -174,7 +174,7 @@
|
||||||
{
|
{
|
||||||
"comment": "JavaScript sigil with double quotes",
|
"comment": "JavaScript sigil with double quotes",
|
||||||
"name": "source.js",
|
"name": "source.js",
|
||||||
"begin": "~j\\\"",
|
"begin": "~JS\\\"",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -195,7 +195,7 @@
|
||||||
{
|
{
|
||||||
"comment": "JavaScript sigil with square brackets",
|
"comment": "JavaScript sigil with square brackets",
|
||||||
"name": "source.js",
|
"name": "source.js",
|
||||||
"begin": "~j\\[",
|
"begin": "~JS\\[",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -216,7 +216,7 @@
|
||||||
{
|
{
|
||||||
"comment": "JavaScript sigil with parentheses",
|
"comment": "JavaScript sigil with parentheses",
|
||||||
"name": "source.js",
|
"name": "source.js",
|
||||||
"begin": "~j\\(",
|
"begin": "~JS\\(",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -237,7 +237,7 @@
|
||||||
{
|
{
|
||||||
"comment": "JavaScript sigil with curly brackets",
|
"comment": "JavaScript sigil with curly brackets",
|
||||||
"name": "source.js",
|
"name": "source.js",
|
||||||
"begin": "~j\\{",
|
"begin": "~JS\\{",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -279,7 +279,7 @@
|
||||||
{
|
{
|
||||||
"comment": "TypeScript sigil with heredoc (double quotes)",
|
"comment": "TypeScript sigil with heredoc (double quotes)",
|
||||||
"name": "source.ts",
|
"name": "source.ts",
|
||||||
"begin": "\\s?(~t\"\"\")",
|
"begin": "\\s?(~TS\"\"\")",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -300,7 +300,7 @@
|
||||||
{
|
{
|
||||||
"comment": "TypeScript sigil with double quotes",
|
"comment": "TypeScript sigil with double quotes",
|
||||||
"name": "source.ts",
|
"name": "source.ts",
|
||||||
"begin": "~t\\\"",
|
"begin": "~TS\\\"",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -321,7 +321,7 @@
|
||||||
{
|
{
|
||||||
"comment": "TypeScript sigil with square brackets",
|
"comment": "TypeScript sigil with square brackets",
|
||||||
"name": "source.ts",
|
"name": "source.ts",
|
||||||
"begin": "~t\\[",
|
"begin": "~TS\\[",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -342,7 +342,7 @@
|
||||||
{
|
{
|
||||||
"comment": "TypeScript sigil with parentheses",
|
"comment": "TypeScript sigil with parentheses",
|
||||||
"name": "source.ts",
|
"name": "source.ts",
|
||||||
"begin": "~t\\(",
|
"begin": "~TS\\(",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
@ -363,7 +363,7 @@
|
||||||
{
|
{
|
||||||
"comment": "TypeScript sigil with curly brackets",
|
"comment": "TypeScript sigil with curly brackets",
|
||||||
"name": "source.ts",
|
"name": "source.ts",
|
||||||
"begin": "~t\\{",
|
"begin": "~TS\\{",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
"0": {
|
"0": {
|
||||||
"name": "string.quoted.double.heredoc.elixir"
|
"name": "string.quoted.double.heredoc.elixir"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"license": "HL3-FULL",
|
"license": "HL3-FULL",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitlab.com/jimsy/vscode-cinder.git"
|
"url": "https://harton.dev/cinder/vscode-cinder.git"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.25.1"
|
"vscode": "^1.25.1"
|
||||||
|
|
Loading…
Reference in a new issue