From 0d9d8f9cfdb0a60302fc2bcadc93c4187c33d439 Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Wed, 5 May 2021 16:22:27 +0200 Subject: add grammar to extension --- editors/vscode/language-configuration.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'editors/vscode/language-configuration.json') diff --git a/editors/vscode/language-configuration.json b/editors/vscode/language-configuration.json index d676f80..56f675c 100644 --- a/editors/vscode/language-configuration.json +++ b/editors/vscode/language-configuration.json @@ -23,5 +23,10 @@ ["\"", "\""], ["'", "'"], ["`", "`"] - ] + ], + "indentationRules": { + "increaseIndentPattern": "^.*\\{[^}\"']*$|^.*\\([^\\)\"']*$", + "decreaseIndentPattern": "^\\s*(\\s*\\/[*].*[*]\\/\\s*)*[})]" + }, + } \ No newline at end of file -- cgit v1.2.3