diff options
| author | Andreas Backx <andreas@backx.org> | 2023-05-21 16:25:47 +0100 |
|---|---|---|
| committer | Andreas Backx <andreas@backx.org> | 2023-05-21 17:34:42 +0100 |
| commit | 09f624721cf1ea250aff6b76b465dfbc5c64bc56 (patch) | |
| tree | 4a7e4518320f14b4fd2c89c8db9419c371330d38 /editors/code/package.json | |
| parent | a04d8456be1d289c814846178cc1ff63b4fc297b (diff) | |
| download | rust-09f624721cf1ea250aff6b76b465dfbc5c64bc56.tar.gz rust-09f624721cf1ea250aff6b76b465dfbc5c64bc56.zip | |
[editors/code] add markdown syntax highlighting to doc comments
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index b4620243c9f..96d63b42393 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -1562,6 +1562,16 @@ "language": "ra_syntax_tree", "scopeName": "source.ra_syntax_tree", "path": "ra_syntax_tree.tmGrammar.json" + }, + { + "scopeName": "rustdoc.markdown.injection", + "path": "rustdoc.markdown.injection.tmGrammar.json", + "injectTo": [ + "source.rust" + ], + "embeddedLanguages": { + "meta.embedded.block.markdown": "text.html.markdown" + } } ], "problemMatchers": [ |
