highlights.scm 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. (h1
  2. (delimiter) @markup.heading.1.delimiter
  3. (heading) @markup.heading.1)
  4. (h2
  5. (delimiter) @markup.heading.2.delimiter
  6. (heading) @markup.heading.2)
  7. (h3
  8. (heading) @markup.heading.3)
  9. (column_heading
  10. (heading) @markup.heading.4)
  11. (column_heading
  12. (delimiter) @markup.heading.4
  13. (#set! conceal ""))
  14. (tag
  15. "*" @label
  16. (#set! conceal ""))
  17. (tag
  18. text: (_) @label)
  19. (taglink
  20. "|" @markup.link
  21. (#set! conceal ""))
  22. (taglink
  23. text: (_) @markup.link)
  24. (optionlink
  25. text: (_) @markup.link)
  26. (codespan
  27. "`" @markup.raw
  28. (#set! conceal ""))
  29. (codespan
  30. text: (_) @markup.raw)
  31. ((codeblock) @markup.raw.block
  32. (#set! priority 90))
  33. (codeblock
  34. ">" @markup.raw
  35. (#set! conceal ""))
  36. (codeblock
  37. (language) @label
  38. (#set! conceal ""))
  39. (block
  40. "<" @markup.raw
  41. (#set! conceal ""))
  42. (argument) @variable.parameter
  43. (keycode) @string.special
  44. ((url) @string.special.url
  45. (#set! @string.special.url url @string.special.url))
  46. (modeline) @keyword.directive
  47. ((note) @comment.note
  48. (#any-of? @comment.note "Note:" "NOTE:" "Notes:"))
  49. ((note) @comment.warning
  50. (#any-of? @comment.warning "Warning:" "WARNING:"))
  51. ((note) @comment.error
  52. (#any-of? @comment.error "Deprecated:" "DEPRECATED:"))