about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code/rustdoc-inject.json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-06 18:51:11 +0000
committerbors <bors@rust-lang.org>2024-03-06 18:51:11 +0000
commit305d2b0f5c7e8081ab21f78e2d53ed8f84aebecd (patch)
treee8c9415143a6307f929727db3da941edda124d78 /src/tools/rust-analyzer/editors/code/rustdoc-inject.json
parent033c1e00b0fda6616c1442ecf40bb79da8c5db20 (diff)
parent3c2318c0b21e2f4473c2465a4d9481ccd21906dd (diff)
Auto merge of #3363 - RalfJung:rustup, r=RalfJung
Rustup

This should finally work again :)
Diffstat (limited to 'src/tools/rust-analyzer/editors/code/rustdoc-inject.json')
-rw-r--r--src/tools/rust-analyzer/editors/code/rustdoc-inject.json93
1 files changed, 0 insertions, 93 deletions
diff --git a/src/tools/rust-analyzer/editors/code/rustdoc-inject.json b/src/tools/rust-analyzer/editors/code/rustdoc-inject.json
deleted file mode 100644
index 7a4498fea9d..00000000000
--- a/src/tools/rust-analyzer/editors/code/rustdoc-inject.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
-    "injectionSelector": "L:source.rust -string -comment -meta.embedded.block.rustdoc.md",
-    "patterns": [
-        {
-            "include": "#triple-slash"
-        },
-        {
-            "include": "#double-slash-exclamation"
-        },
-        {
-            "include": "#slash-start-exclamation"
-        },
-        {
-            "include": "#slash-double-start"
-        }
-    ],
-    "repository": {
-        "triple-slash": {
-            "begin": "(^|\\G)\\s*(///) ?",
-            "captures": {
-                "2": {
-                    "name": "comment.line.double-slash.rust"
-                }
-            },
-            "name": "comment.quote_code.triple-slash.rust",
-            "contentName": "meta.embedded.block.rustdoc",
-            "patterns": [
-                {
-                    "include": "text.html.markdown.rustdoc"
-                }
-            ],
-            "while": "(^|\\G)\\s*(///) ?"
-        },
-        "double-slash-exclamation": {
-            "begin": "(^|\\G)\\s*(//!) ?",
-            "captures": {
-                "2": {
-                    "name": "comment.line.double-slash.rust"
-                }
-            },
-            "name": "comment.quote_code.double-slash-exclamation.rust",
-            "contentName": "meta.embedded.block.rustdoc",
-            "patterns": [
-                {
-                    "include": "text.html.markdown.rustdoc"
-                }
-            ],
-            "while": "(^|\\G)\\s*(//!) ?"
-        },
-        "slash-start-exclamation": {
-            "begin": "(^)(/\\*!) ?$",
-            "captures": {
-                "2": {
-                    "name": "comment.block.rust"
-                }
-            },
-            "name": "comment.quote_code.slash-start-exclamation.rust",
-            "contentName": "meta.embedded.block.rustdoc",
-            "patterns": [
-                {
-                    "include": "text.html.markdown.rustdoc"
-                }
-            ],
-            "end": "( ?)(\\*/)"
-        },
-        "slash-double-start": {
-            "name": "comment.quote_code.slash-double-start-quote-star.rust",
-            "begin": "(?:^)\\s*/\\*\\* ?$",
-            "end": "\\*/",
-            "patterns": [
-                {
-                    "include": "#quote-star"
-                }
-            ]
-        },
-        "quote-star": {
-            "begin": "(^|\\G)\\s*(\\*(?!/)) ?",
-            "captures": {
-                "2": {
-                    "name": "comment.punctuation.definition.quote_code.slash-star.MR"
-                }
-            },
-            "contentName": "meta.embedded.block.rustdoc",
-            "patterns": [
-                {
-                    "include": "text.html.markdown.rustdoc"
-                }
-            ],
-            "while": "(^|\\G)\\s*(\\*(?!/)) ?"
-        }
-    },
-    "scopeName": "comment.markdown-cell-inject.rustdoc"
-}