erb.json 771 B

123456789101112131415161718192021222324252627
  1. {
  2. "subLanguage": "xml",
  3. "contains": [
  4. {
  5. "className": "comment",
  6. "begin": "<%#",
  7. "end": "%>",
  8. "contains": [
  9. {
  10. "begin": "\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b"
  11. },
  12. {
  13. "className": "doctag",
  14. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  15. "relevance": 0
  16. }
  17. ]
  18. },
  19. {
  20. "begin": "<%[%=-]?",
  21. "end": "[%-]?%>",
  22. "subLanguage": "ruby",
  23. "excludeBegin": true,
  24. "excludeEnd": true
  25. }
  26. ]
  27. }