highlights.scm 501 B

1234567891011121314151617181920212223242526272829303132
  1. ;; From nvim-treesitter/nvim-treesitter
  2. [
  3. (code_span)
  4. (link_title)
  5. ] @text.literal
  6. [
  7. (emphasis_delimiter)
  8. (code_span_delimiter)
  9. ] @punctuation.delimiter
  10. (emphasis) @text.emphasis
  11. (strong_emphasis) @text.strong
  12. [
  13. (link_destination)
  14. (uri_autolink)
  15. ] @text.uri
  16. [
  17. (link_text)
  18. (image_description)
  19. ] @text.reference
  20. [
  21. (backslash_escape)
  22. (hard_line_break)
  23. ] @string.escape
  24. (image ["!" "[" "]" "(" ")"] @punctuation.delimiter)
  25. (inline_link ["[" "]" "(" ")"] @punctuation.delimiter)