diff --git a/src/languageConfiguration.ts b/src/languageConfiguration.ts index 0c3f903d..abcbec22 100644 --- a/src/languageConfiguration.ts +++ b/src/languageConfiguration.ts @@ -18,6 +18,21 @@ export function getLanguageConfiguration(lang: string): vscode.LanguageConfigura close: "*/", notIn: [vscode.SyntaxTokenType.Comment, vscode.SyntaxTokenType.String, vscode.SyntaxTokenType.RegEx], }, + { + open: "{", + close: "}", + notIn: [vscode.SyntaxTokenType.Comment, vscode.SyntaxTokenType.String, vscode.SyntaxTokenType.RegEx], + }, + { + open: "(", + close: ")", + notIn: [vscode.SyntaxTokenType.Comment, vscode.SyntaxTokenType.String, vscode.SyntaxTokenType.RegEx], + }, + { + open: '"', + close: '"', + notIn: [vscode.SyntaxTokenType.Comment, vscode.SyntaxTokenType.String, vscode.SyntaxTokenType.RegEx], + }, ], onEnterRules: lang == "objectscript-class"