Repository navigation
Expand file tree
/
Copy pathsyntax.toml
More file actions
89 lines (77 loc) · 2.3 KB
/
Copy pathsyntax.toml
File metadata and controls
89 lines (77 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# comments
"comment" = "comment"
"comment.doc" = { color = "text.muted", font_style = "italic" }
"comment.documentation" = { color = "text.muted", font_style = "italic" }
"string.doc" = { color = "text.muted", font_style = "italic" }
"string.documentation" = { color = "text.muted", font_style = "italic" }
# strings
"string" = "string"
"string.escape" = "text.disabled"
# literals
"number" = "number"
"boolean" = "number"
"constant.builtin" = { color = "number", font_style = "italic" }
"constant" = { color = "constant", font_style = "italic" }
"type.enum.member" = { color = "function", font_style = "italic" }
"variant" = { color = "function", font_style = "italic" }
# names
"variable" = "text"
"property" = "constant"
"variable.special" = { color = "text", font_style = "italic" }
# types
"type" = "type"
"type.enum" = { color = "type", font_style = "italic" }
"type.interface" = "type"
"concept" = "type"
"type.parameter" = "number"
"lifetime" = "number"
"tag" = "number"
"tag.component" = "type"
"tag.component.jsx" = "type"
"selector.class" = "type"
"selector.id" = "type"
"label" = "type"
# functions
"function" = "function"
"function.decorator" = "function"
"function.annotation" = "function"
"attribute" = "function"
"attribute.builtin" = "function"
"selector.pseudo" = "function"
# keywords
"keyword" = "keyword"
"keyword.preproc" = "keyword"
"preproc" = "keyword"
# punctuation
"punctuation" = "punctuation"
"punctuation.bracket" = "punctuation"
"operator" = "punctuation"
"namespace" = "punctuation"
# specials
"punctuation.special" = "keyword"
"string.special" = "keyword"
# regex
"operator.regex" = "keyword"
"string.escape.regex" = { color = "constant", font_weight = 700 }
# markup
"text" = "text"
"emphasis" = { font_style = "italic" }
"emphasis.strong" = { font_weight = 700 }
"title" = { color = "constant", font_weight = 700 }
"markup.heading" = "text"
"text.literal" = "string"
"link_text" = "function"
"link_uri" = "punctuation"
"markup.link.url" = "punctuation"
"strikethrough" = "text.disabled"
"punctuation.markup" = "keyword"
"punctuation.list_marker" = "type"
"punctuation.embedded" = "keyword"
# diff
"diff.plus" = "added"
"diff.minus" = "deleted"
"diff.delta" = "modified"
"diff.delta.moved" = "renamed"
"string.special.path" = "text"
# editor
"hint" = { color = "text.disabled", background = "ground.inset" }