|
372 | 372 | <snippet name="Crystal Slang Example" path="syntaxes/crystal/slang.example.slang" scopeName="text.slang" /> |
373 | 373 | </extension> |
374 | 374 |
|
| 375 | + <!-- ======================================== --> |
| 376 | + <!-- d2/d2: d2 --> |
| 377 | + <!-- ======================================== --> |
| 378 | + <extension point="org.eclipse.core.contenttype.contentTypes"> |
| 379 | + <content-type id="extra-syntax-highlighting.d2" name="d2" base-type="extra-syntax-highlighting.basetype" priority="normal" |
| 380 | + file-extensions="d2" /> |
| 381 | + </extension> |
| 382 | + <extension point="org.eclipse.tm4e.registry.grammars"> |
| 383 | + <grammar scopeName="source.d2" path="syntaxes/d2/d2.tmLanguage.json" /> |
| 384 | + <scopeNameContentTypeBinding scopeName="source.d2" contentTypeId="extra-syntax-highlighting.d2" /> |
| 385 | + </extension> |
| 386 | + |
| 387 | + <extension point="org.eclipse.tm4e.languageconfiguration.languageConfigurations"> |
| 388 | + <languageConfiguration contentTypeId="extra-syntax-highlighting.d2" path="syntaxes/d2/d2.language-configuration.json" /> |
| 389 | + </extension> |
| 390 | + |
| 391 | + <extension point="org.eclipse.ui.genericeditor.icons"> |
| 392 | + <icon contentType="extra-syntax-highlighting.d2" icon="syntaxes/d2/d2.png"/> |
| 393 | + </extension> |
| 394 | + |
| 395 | + <extension point="org.eclipse.tm4e.ui.snippets"> |
| 396 | + <snippet name="d2 Example" path="syntaxes/d2/d2.example.d2" scopeName="source.d2" /> |
| 397 | + </extension> |
| 398 | + |
| 399 | + <!-- ======================================== --> |
| 400 | + <!-- d2/d2-markdown-injection: d2-markdown-injection --> |
| 401 | + <!-- ======================================== --> |
| 402 | + <extension point="org.eclipse.core.contenttype.contentTypes"> |
| 403 | + <content-type id="extra-syntax-highlighting.d2-markdown-injection" name="d2-markdown-injection" base-type="extra-syntax-highlighting.basetype" priority="normal" |
| 404 | + file-names="PREVENT_FILE_ASSOCIATION_INHERITANCE" /> |
| 405 | + </extension> |
| 406 | + <extension point="org.eclipse.tm4e.registry.grammars"> |
| 407 | + <grammar scopeName="markdown.d2.codeblock" path="syntaxes/d2/d2-markdown-injection.tmLanguage.json" /> |
| 408 | + <scopeNameContentTypeBinding scopeName="markdown.d2.codeblock" contentTypeId="extra-syntax-highlighting.d2-markdown-injection" /> |
| 409 | + </extension> |
| 410 | + |
| 411 | + <extension point="org.eclipse.ui.genericeditor.icons"> |
| 412 | + <icon contentType="extra-syntax-highlighting.d2-markdown-injection" icon="syntaxes/d2/icon.png"/> |
| 413 | + </extension> |
| 414 | + |
| 415 | + <!-- ======================================== --> |
| 416 | + <!-- d2/markdown.d2: markdown.d2 --> |
| 417 | + <!-- ======================================== --> |
| 418 | + <extension point="org.eclipse.core.contenttype.contentTypes"> |
| 419 | + <content-type id="extra-syntax-highlighting.markdown.d2" name="markdown.d2" base-type="extra-syntax-highlighting.basetype" priority="normal" |
| 420 | + file-names="PREVENT_FILE_ASSOCIATION_INHERITANCE" /> |
| 421 | + </extension> |
| 422 | + <extension point="org.eclipse.tm4e.registry.grammars"> |
| 423 | + <grammar scopeName="text.html.markdown.d2" path="syntaxes/d2/markdown.d2.tmLanguage.json" /> |
| 424 | + <scopeNameContentTypeBinding scopeName="text.html.markdown.d2" contentTypeId="extra-syntax-highlighting.markdown.d2" /> |
| 425 | + </extension> |
| 426 | + |
| 427 | + <extension point="org.eclipse.ui.genericeditor.icons"> |
| 428 | + <icon contentType="extra-syntax-highlighting.markdown.d2" icon="syntaxes/d2/icon.png"/> |
| 429 | + </extension> |
| 430 | + |
375 | 431 | <!-- ======================================== --> |
376 | 432 | <!-- dot/dot: GraphViz DOT File --> |
377 | 433 | <!-- ======================================== --> |
|
0 commit comments