BlueGit

ict rusty-teams

Files

rusty-teams / vendor / gpui-component / src / highlighter / languages / markdown / highlights.scm

highlights.scm

highlights.scm 799 B Download Raw
1;From nvim-treesitter/nvim-treesitter
2(atx_heading (inline) @title)
3(setext_heading (paragraph) @title)
4
5[
6 (atx_h1_marker)
7 (atx_h2_marker)
8 (atx_h3_marker)
9 (atx_h4_marker)
10 (atx_h5_marker)
11 (atx_h6_marker)
12 (setext_h1_underline)
13 (setext_h2_underline)
14] @punctuation.special
15
16[
17 (link_title)
18 (indented_code_block)
19 (fenced_code_block)
20] @text.literal
21
22[
23 (fenced_code_block_delimiter)
24] @punctuation.delimiter
25
26(code_fence_content) @none
27
28[
29 (link_destination)
30] @text.uri
31
32[
33 (link_label)
34] @text.reference
35
36[
37 (list_marker_plus)
38 (list_marker_minus)
39 (list_marker_star)
40 (list_marker_dot)
41 (list_marker_parenthesis)
42 (thematic_break)
43] @punctuation.list_marker
44
45[
46 (block_continuation)
47 (block_quote_marker)
48] @punctuation.special
49
50[
51 (backslash_escape)
52] @string.escape