carbon-check-test.tmLanguage.json 469 B

123456789101112131415161718192021
  1. {
  2. "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
  3. "scopeName": "source.carbon-check-test",
  4. "injectionSelector": "L:source.carbon",
  5. "patterns": [
  6. {
  7. "begin": "^(\\s*//\\s*CHECK:STDOUT:)",
  8. "beginCaptures": {
  9. "1": {
  10. "name": "comment.line.carbon"
  11. }
  12. },
  13. "end": "$",
  14. "patterns": [
  15. {
  16. "include": "source.carbon-semir"
  17. }
  18. ]
  19. }
  20. ]
  21. }