about summary refs log tree commit diff
path: root/editors/code/rustdoc.json
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-29 14:20:57 +0000
committerbors <bors@rust-lang.org>2024-02-29 14:20:57 +0000
commitef2acb6ff3fd955f43f49ed97ff73bfe98ff8122 (patch)
tree8401ce79d3762c49b9f9133a6b7a825b520e27c4 /editors/code/rustdoc.json
parent71eb5400a3a527d25b1cd8a22f3ce3f45813576d (diff)
parent30ad0ae20978a6fa284a3c9eb89c344d266a8241 (diff)
downloadrust-ef2acb6ff3fd955f43f49ed97ff73bfe98ff8122.tar.gz
rust-ef2acb6ff3fd955f43f49ed97ff73bfe98ff8122.zip
Auto merge of #16695 - Veykril:revert-16541, r=Veykril
internal: Revert #16541

Closes https://github.com/rust-lang/rust-analyzer/issues/16602
Diffstat (limited to 'editors/code/rustdoc.json')
-rw-r--r--editors/code/rustdoc.json82
1 files changed, 0 insertions, 82 deletions
diff --git a/editors/code/rustdoc.json b/editors/code/rustdoc.json
deleted file mode 100644
index cecfae9d753..00000000000
--- a/editors/code/rustdoc.json
+++ /dev/null
@@ -1,82 +0,0 @@
-{
-    "name": "rustdoc",
-    "patterns": [
-        {
-            "include": "#fenced_code_block"
-        },
-        {
-            "include": "#markdown"
-        }
-    ],
-    "scopeName": "text.html.markdown.rustdoc",
-    "repository": {
-        "markdown": {
-            "patterns": [
-                {
-                    "include": "text.html.markdown"
-                }
-            ]
-        },
-        "fenced_code_block": {
-            "patterns": [
-                {
-                    "include": "#fenced_code_block_rust"
-                },
-                {
-                    "include": "#fenced_code_block_unknown"
-                }
-            ]
-        },
-        "fenced_code_block_rust": {
-            "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|not run|not_run)?((\\s+|:|,|\\{|\\?)[^`~]*)?$)",
-            "name": "markup.fenced_code.block.markdown",
-            "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
-            "beginCaptures": {
-                "3": {
-                    "name": "punctuation.definition.markdown"
-                },
-                "4": {
-                    "name": "fenced_code.block.language.markdown"
-                },
-                "5": {
-                    "name": "fenced_code.block.language.attributes.markdown"
-                }
-            },
-            "endCaptures": {
-                "3": {
-                    "name": "punctuation.definition.markdown"
-                }
-            },
-            "patterns": [
-                {
-                    "begin": "(^|\\G)(\\s*)(.*)",
-                    "while": "(^|\\G)(?!\\s*([`~]{3,})\\s*$)",
-                    "contentName": "meta.embedded.block.rust",
-                    "patterns": [
-                        {
-                            "include": "source.rust"
-                        }
-                    ]
-                }
-            ]
-        },
-        "fenced_code_block_unknown": {
-            "begin": "(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]+)?$)",
-            "beginCaptures": {
-                "3": {
-                    "name": "punctuation.definition.markdown"
-                },
-                "4": {
-                    "name": "fenced_code.block.language"
-                }
-            },
-            "end": "(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$",
-            "endCaptures": {
-                "3": {
-                    "name": "punctuation.definition.markdown"
-                }
-            },
-            "name": "markup.fenced_code.block.markdown"
-        }
-    }
-}