Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/language-configuration-rustdoc.json')
-rw-r--r--editors/code/language-configuration-rustdoc.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/editors/code/language-configuration-rustdoc.json b/editors/code/language-configuration-rustdoc.json
new file mode 100644
index 0000000000..c905d3b606
--- /dev/null
+++ b/editors/code/language-configuration-rustdoc.json
@@ -0,0 +1,37 @@
+{
+ "comments": {
+ "blockComment": ["<!--", "-->"]
+ },
+ "brackets": [
+ ["{", "}"],
+ ["[", "]"],
+ ["(", ")"]
+ ],
+ "colorizedBracketPairs": [],
+ "autoClosingPairs": [
+ { "open": "{", "close": "}" },
+ { "open": "[", "close": "]" },
+ { "open": "(", "close": ")" }
+ ],
+ "surroundingPairs": [
+ ["(", ")"],
+ ["[", "]"],
+ ["`", "`"],
+ ["_", "_"],
+ ["*", "*"],
+ ["{", "}"],
+ ["'", "'"],
+ ["\"", "\""]
+ ],
+ "folding": {
+ "offSide": true,
+ "markers": {
+ "start": "^\\s*<!--\\s*#?region\\b.*-->",
+ "end": "^\\s*<!--\\s*#?endregion\\b.*-->"
+ }
+ },
+ "wordPattern": {
+ "pattern": "(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})(((\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark})|[_])?(\\p{Alphabetic}|\\p{Number}|\\p{Nonspacing_Mark}))*",
+ "flags": "ug"
+ }
+}