aboutsummaryrefslogtreecommitdiff
path: root/pu2/p2m-syntax/language-configuration.json
diff options
context:
space:
mode:
authorGravatar Moon Flower <moon@coffin.ir> 2025-08-11 11:34:18 +0330
committerGravatar Moon Flower <moon@coffin.ir> 2025-08-11 11:34:18 +0330
commit2fc20ad0b11e60ecfacc653024f2b582acad6e86 (patch)
treed7e3f793f32928e40a18c56d00875a5b8e74dc62 /pu2/p2m-syntax/language-configuration.json
parentvscode theme extension (diff)
ir2 initial release!
Diffstat (limited to 'pu2/p2m-syntax/language-configuration.json')
-rw-r--r--pu2/p2m-syntax/language-configuration.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/pu2/p2m-syntax/language-configuration.json b/pu2/p2m-syntax/language-configuration.json
new file mode 100644
index 0000000..92ebca0
--- /dev/null
+++ b/pu2/p2m-syntax/language-configuration.json
@@ -0,0 +1,30 @@
+{
+ "comments": {
+ "lineComment": "#"
+ },
+ "brackets": [
+ ["{", "}"],
+ ["[", "]"],
+ ["(", ")"]
+ ],
+ "autoClosingPairs": [
+ { "open": "{", "close": "}" },
+ { "open": "[", "close": "]" },
+ { "open": "(", "close": ")" },
+ { "open": "'", "close": "'", "notIn": ["string"] },
+ { "open": "\"", "close": "\"", "notIn": ["string"] }
+ ],
+ "surroundingPairs": [
+ { "open": "{", "close": "}" },
+ { "open": "[", "close": "]" },
+ { "open": "(", "close": ")" },
+ { "open": "'", "close": "'" },
+ { "open": "\"", "close": "\"" }
+ ],
+ "folding": {
+ "markers": {
+ "start": "^\\s*\\{",
+ "end": "^\\s*\\}"
+ }
+ }
+}