mirror of
https://github.com/Open-Argon/argon-vsc-syntax-highlighting.git
synced 2026-10-28 09:44:57 +00:00
add template string support
This commit is contained in:
1 parent
c226315f7a
commit
43a01c58f1
3 files changed
+52
-2
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "argon-v3",
|
"name": "argon-v3",
|
||||||
"displayName": "The Argon Programming Language",
|
"displayName": "The Argon Programming Language",
|
||||||
"description": "Syntax highlighting and other features for the Argon programming language.",
|
"description": "Syntax highlighting and other features for the Argon programming language.",
|
||||||
"version": "2.0.5",
|
"version": "2.0.6",
|
||||||
"publisher": "Open-Argon",
|
"publisher": "Open-Argon",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.60.0"
|
"vscode": "^1.60.0"
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
{
|
{
|
||||||
"include": "#keywords"
|
"include": "#keywords"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"include": "#templates"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"include": "#strings"
|
"include": "#strings"
|
||||||
},
|
},
|
||||||
@@ -19,6 +22,51 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
|
"templates": {
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"name": "string.template.argon",
|
||||||
|
"begin": "`",
|
||||||
|
"beginCaptures": {
|
||||||
|
"0": { "name": "punctuation.definition.string.begin.argon" }
|
||||||
|
},
|
||||||
|
"end": "`",
|
||||||
|
"endCaptures": {
|
||||||
|
"0": { "name": "punctuation.definition.string.end.argon" }
|
||||||
|
},
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"include": "#interpolation"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"interpolation": {
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"name": "meta.interpolation.argon",
|
||||||
|
"begin": "\\$\\(",
|
||||||
|
"beginCaptures": {
|
||||||
|
"0": {
|
||||||
|
"name": "keyword.operator.argon"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"end": "\\)",
|
||||||
|
"endCaptures": {
|
||||||
|
"0": {
|
||||||
|
"name": "keyword.operator.argon"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"patterns": [
|
||||||
|
{ "include": "#keywords" },
|
||||||
|
{ "include": "#numbers" },
|
||||||
|
{ "include": "#strings" },
|
||||||
|
{ "include": "#variables" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"keywords": {
|
"keywords": {
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user