interplane.Get Omega
Read in your language

vscode-omega

aien-dev/vscode-omega

Brought by drakestapleton

branch main Branches Tags History

vscode-omega / language-configuration.json

15 lines · 588 bytes Raw Blame History
1{
2 "comments": { "lineComment": "note" },
3 "brackets": [["(", ")"]],
4 "autoClosingPairs": [
5 { "open": "(", "close": ")" },
6 { "open": "\"", "close": "\"", "notIn": ["string", "comment"] }
7 ],
8 "surroundingPairs": [["(", ")"], ["\"", "\""]],
9 "wordPattern": "-?0x[0-9a-f]+|-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?(?:f32|f64)?|[A-Za-z_][A-Za-z0-9_]*",
10 "indentationRules": {
11 "increaseIndentPattern": "^\\s*(?:(?:export\\s+)?fn\\b|if\\b|else\\b|while\\b|for\\b|layout\\b)(?!.*\\bend\\s*$)",
12 "decreaseIndentPattern": "^\\s*(?:end|else)\\b"
13 },
14 "onEnterRules": []
15}