properties.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "case_insensitive": true,
  3. "illegal": "\\S",
  4. "contains": [
  5. {
  6. "className": "comment",
  7. "begin": "^\\s*[!#]",
  8. "end": "$",
  9. "contains": [
  10. {
  11. "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"
  12. },
  13. {
  14. "className": "doctag",
  15. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  16. "relevance": 0
  17. }
  18. ]
  19. },
  20. {
  21. "begin": "([^\\\\\\W:= \\t\\f\\n]|\\\\.)+([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",
  22. "returnBegin": true,
  23. "contains": [
  24. {
  25. "className": "attr",
  26. "begin": "([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",
  27. "endsParent": true,
  28. "relevance": 0
  29. }
  30. ],
  31. "starts": {
  32. "end": "([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",
  33. "relevance": 0,
  34. "starts": {
  35. "className": "string",
  36. "end": "$",
  37. "relevance": 0,
  38. "contains": [
  39. {
  40. "begin": "\\\\\\n"
  41. }
  42. ]
  43. }
  44. }
  45. },
  46. {
  47. "begin": "([^\\\\:= \\t\\f\\n]|\\\\.)+([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",
  48. "returnBegin": true,
  49. "relevance": 0,
  50. "contains": [
  51. {
  52. "className": "meta",
  53. "begin": "([^\\\\:= \\t\\f\\n]|\\\\.)+",
  54. "endsParent": true,
  55. "relevance": 0
  56. }
  57. ],
  58. "starts": {
  59. "$ref": "#contains.1.starts"
  60. }
  61. },
  62. {
  63. "className": "attr",
  64. "relevance": 0,
  65. "begin": "([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*$"
  66. }
  67. ]
  68. }