dsconfig.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "keywords": "dsconfig",
  3. "contains": [
  4. {
  5. "className": "keyword",
  6. "begin": "^dsconfig",
  7. "end": "\\s",
  8. "excludeEnd": true,
  9. "relevance": 10
  10. },
  11. {
  12. "className": "built_in",
  13. "begin": "(list|create|get|set|delete)-(\\w+)",
  14. "end": "\\s",
  15. "excludeEnd": true,
  16. "illegal": "!@#$%^&*()",
  17. "relevance": 10
  18. },
  19. {
  20. "className": "built_in",
  21. "begin": "--(\\w+)",
  22. "end": "\\s",
  23. "excludeEnd": true
  24. },
  25. {
  26. "className": "string",
  27. "begin": "\"",
  28. "end": "\""
  29. },
  30. {
  31. "className": "string",
  32. "begin": "'",
  33. "end": "'"
  34. },
  35. {
  36. "className": "string",
  37. "begin": "[\\w\\-?]+:\\w+",
  38. "end": "\\W",
  39. "relevance": 0
  40. },
  41. {
  42. "className": "string",
  43. "begin": "\\w+-?\\w+",
  44. "end": "\\W",
  45. "relevance": 0
  46. },
  47. {
  48. "className": "comment",
  49. "begin": "#",
  50. "end": "$",
  51. "contains": [
  52. {
  53. "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"
  54. },
  55. {
  56. "className": "doctag",
  57. "begin": "(?:TODO|FIXME|NOTE|BUG|XXX):",
  58. "relevance": 0
  59. }
  60. ]
  61. }
  62. ]
  63. }