diff --git a/language-configuration.json b/language-configuration.json index da57f72..5dec4d8 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -1,19 +1,17 @@ { "comments": { "lineComment": "//", - "blockComment": [ - ["/*", "*/"], - ] + "blockComment": [["/*", "*/"]] }, "brackets": [ - ["{|", "|}"], + ["$(", ")"], ["{", "}"], ["[", "]"], ["(", ")"] ], "autoClosingPairs": [ ["/*", "*/"], - ["{|", "|}"], + ["$(", ")"], ["{", "}"], ["[", "]"], ["(", ")"], @@ -21,6 +19,7 @@ ], // symbols that can be used to surround a selection "surroundingPairs": [ + ["$(", ")"], ["{", "}"], ["[", "]"], ["(", ")"], diff --git a/syntaxes/pinc.tmLanguage.json b/syntaxes/pinc.tmLanguage.json index 8c2a0b8..0a2995f 100644 --- a/syntaxes/pinc.tmLanguage.json +++ b/syntaxes/pinc.tmLanguage.json @@ -159,13 +159,13 @@ }, { "name": "meta.template.expression", - "begin": "\\{\\|", + "begin": "\\$\\(", "beginCaptures": { "0": { "name": "punctuation.section.interpolation.begin" } }, - "end": "\\|\\}", + "end": "\\)", "endCaptures": { "0": { "name": "punctuation.section.interpolation.end"