aboutsummaryrefslogtreecommitdiff
path: root/ext/language-configuration.json
diff options
context:
space:
mode:
Diffstat (limited to 'ext/language-configuration.json')
-rw-r--r--ext/language-configuration.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/ext/language-configuration.json b/ext/language-configuration.json
new file mode 100644
index 0000000..a063f16
--- /dev/null
+++ b/ext/language-configuration.json
@@ -0,0 +1,28 @@
+{
+ "comments": {
+ "lineComment": "#"
+ },
+ "brackets": [
+ ["(", ")"],
+ ["[", "]"],
+ ["{", "}"]
+ ],
+ "autoClosingPairs": [
+ { "open": "{", "close": "}" },
+ { "open": "[", "close": "]" },
+ { "open": "(", "close": ")" },
+ { "open": "'", "close": "'", "notIn": ["string", "comment"] },
+ { "open": "\"", "close": "\"", "notIn": ["comment"] }
+ ],
+ "surroundingPairs": [
+ ["(", ")"],
+ ["[", "]"],
+ ["{", "}"],
+ ["'", "'"],
+ ["\"", "\""]
+ ],
+ "indentationRules": {
+ "increaseIndentPattern": "^((?!#).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$",
+ "decreaseIndentPattern": "^((?!.*?#).*\\*/)?\\s*[\\)\\}\\]].*$"
+ }
+}