about summary refs log tree commit diff stats
path: root/js/baba-yaga/dev/vscode/language-configuration.json
diff options
context:
space:
mode:
Diffstat (limited to 'js/baba-yaga/dev/vscode/language-configuration.json')
-rw-r--r--js/baba-yaga/dev/vscode/language-configuration.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/js/baba-yaga/dev/vscode/language-configuration.json b/js/baba-yaga/dev/vscode/language-configuration.json
new file mode 100644
index 0000000..d80484d
--- /dev/null
+++ b/js/baba-yaga/dev/vscode/language-configuration.json
@@ -0,0 +1,36 @@
+{
+  "comments": {
+    "lineComment": "//",
+    "blockComment": ["/*", "*/"]
+  },
+  "brackets": [
+    ["{", "}"],
+    ["[", "]"],
+    ["(", ")"]
+  ],
+  "autoClosingPairs": [
+    { "open": "{", "close": "}" },
+    { "open": "[", "close": "]" },
+    { "open": "(", "close": ")" },
+    { "open": "\"", "close": "\"", "notIn": ["string"] },
+    { "open": "'", "close": "'", "notIn": ["string"] }
+  ],
+  "surroundingPairs": [
+    ["{", "}"],
+    ["[", "]"],
+    ["(", ")"],
+    ["\"", "\""],
+    ["'", "'"]
+  ],
+  "indentationRules": {
+    "increaseIndentPattern": "^(.*\\{[^}\"']*|.*\\([^)\"']*)$",
+    "decreaseIndentPattern": "^\\s*[})\\]]"
+  },
+  "folding": {
+    "markers": {
+      "start": "^\\s*//\\s*#?region\\b",
+      "end": "^\\s*//\\s*#?endregion\\b"
+    }
+  },
+  "validate": false
+}