Add Julia indentation rules

This commit is contained in:
David Anthoff 2021-03-05 14:14:46 -08:00
parent 7f7e427d3b
commit c18378655b

View file

@ -27,5 +27,9 @@
"start": "^\\s*#region",
"end": "^\\s*#endregion"
}
},
"indentationRules": {
"increaseIndentPattern": "^(\\s*|.*=\\s*|.*@\\w*\\s*)[\\w\\s]*(?:[\"'`][^\"'`]*[\"'`])*[\\w\\s]*\\b(if|while|for|function|macro|(mutable\\s+)?struct|abstract\\s+type|primitive\\s+type|let|quote|try|begin|.*\\)\\s*do|else|elseif|catch|finally)\\b(?!(?:.*\\bend\\b[^\\]]*)|(?:[^\\[]*\\].*)$).*$",
"decreaseIndentPattern": "^\\s*(end|else|elseif|catch|finally)\\b.*$"
}
}