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.json54
1 files changed, 54 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..d7cbf2a0d2
--- /dev/null
+++ b/editors/code/language-configuration-rustdoc.json
@@ -0,0 +1,54 @@
+{
+ "comments": {
+ "blockComment": [
+ "<!--",
+ "-->"
+ ]
+ },
+ "brackets": [
+ ["{", "}"],
+ ["[", "]"],
+ ["(", ")"]
+ ],
+ "colorizedBracketPairs": [
+ ],
+ "autoClosingPairs": [
+ {
+ "open": "{",
+ "close": "}"
+ },
+ {
+ "open": "[",
+ "close": "]"
+ },
+ {
+ "open": "(",
+ "close": ")"
+ },
+ {
+ "open": "<",
+ "close": ">",
+ "notIn": [
+ "string"
+ ]
+ }
+ ],
+ "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" },
+}