Remove markdown injection

This commit is contained in:
Lukas Wirth 2023-06-23 11:31:10 +02:00
parent 403433a355
commit 0141a6b65c
3 changed files with 0 additions and 34 deletions

View File

@ -10,6 +10,5 @@
!package-lock.json !package-lock.json
!package.json !package.json
!ra_syntax_tree.tmGrammar.json !ra_syntax_tree.tmGrammar.json
!rustdoc.markdown.injection.tmGrammar.json
!server !server
!README.md !README.md

View File

@ -1646,16 +1646,6 @@
"language": "ra_syntax_tree", "language": "ra_syntax_tree",
"scopeName": "source.ra_syntax_tree", "scopeName": "source.ra_syntax_tree",
"path": "ra_syntax_tree.tmGrammar.json" "path": "ra_syntax_tree.tmGrammar.json"
},
{
"scopeName": "source.rustdoc.markdown.injection",
"path": "rustdoc.markdown.injection.tmGrammar.json",
"injectTo": [
"source.rust"
],
"embeddedLanguages": {
"meta.embedded.block.markdown": "text.html.markdown"
}
} }
], ],
"problemMatchers": [ "problemMatchers": [

View File

@ -1,23 +0,0 @@
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"scopeName": "source.rustdoc.markdown.injection",
"injectionSelector": "L:source.rust",
"patterns": [
{
"include": "#doc-comment-line"
}
],
"repository": {
"doc-comment-line": {
"name": "comment.line.documentation.rust",
"begin": "^\\s*//(/|!)",
"end": "$",
"contentName": "meta.embedded.block.markdown",
"patterns": [
{
"include": "text.html.markdown"
}
]
}
}
}