|
@@ -0,0 +1,44 @@
|
|
|
+{
|
|
|
+ //NOTE: regex case-insensitive option 'i' results in an error
|
|
|
+
|
|
|
+ // line and block comments
|
|
|
+ "comments": {
|
|
|
+ "lineComment": "!!",
|
|
|
+ "blockComment": ["!{", "!}"]
|
|
|
+ },
|
|
|
+ // symbols used as brackets
|
|
|
+ "brackets": [
|
|
|
+ ["{", "}"],
|
|
|
+ ["[", "]"],
|
|
|
+ ["(", ")"]
|
|
|
+ ],
|
|
|
+ // symbols that are auto closed when typing
|
|
|
+ "autoClosingPairs": [
|
|
|
+ { "open": "{", "close": "}" },
|
|
|
+ { "open": "[", "close": "]" },
|
|
|
+ { "open": "(", "close": ")" },
|
|
|
+ { "open": "'", "close": "'" },
|
|
|
+ { "open": "\"", "close": "\"", "notIn": ["string"] }
|
|
|
+ ],
|
|
|
+ // symbols that that can be used to surround a selection
|
|
|
+ "surroundingPairs": [
|
|
|
+ ["{", "}"],
|
|
|
+ ["[", "]"],
|
|
|
+ ["(", ")"],
|
|
|
+ ["\"", "\""],
|
|
|
+ ["'", "'"],
|
|
|
+ ["<<", ">>"]
|
|
|
+ ],
|
|
|
+ // code folding
|
|
|
+ "folding": {
|
|
|
+ "markers": {
|
|
|
+ "start": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
|
|
|
+ "end": "^\\s*[Ee][Nn][Dd]\\b"
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // automatic indentation
|
|
|
+ "indentationRules": {
|
|
|
+ "increaseIndentPattern": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
|
|
|
+ "decreaseIndentPattern": "^\\s*[Ee][Nn][Dd]\\b"
|
|
|
+ }
|
|
|
+}
|