highlights.scm 678 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ;From nvim-treesitter/nvim-treesitter
  2. (atx_heading (inline) @text.title)
  3. (setext_heading (paragraph) @text.title)
  4. [
  5. (atx_h1_marker)
  6. (atx_h2_marker)
  7. (atx_h3_marker)
  8. (atx_h4_marker)
  9. (atx_h5_marker)
  10. (atx_h6_marker)
  11. (setext_h1_underline)
  12. (setext_h2_underline)
  13. ] @punctuation.special
  14. [
  15. (indented_code_block)
  16. (fenced_code_block)
  17. ] @text.literal
  18. [
  19. (fenced_code_block_delimiter)
  20. ] @punctuation.delimiter
  21. (code_fence_content) @none
  22. [
  23. (list_marker_plus)
  24. (list_marker_minus)
  25. (list_marker_star)
  26. (list_marker_dot)
  27. (list_marker_parenthesis)
  28. (thematic_break)
  29. ] @punctuation.special
  30. [
  31. (block_continuation)
  32. (block_quote_marker)
  33. ] @punctuation.special