-
Notifications
You must be signed in to change notification settings - Fork 6
/
template.toml
184 lines (135 loc) · 7.28 KB
/
template.toml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# Template document for helix color schemes
# See also: https://docs.helix-editor.com/themes.html
#
# NOTE: Keys default to the most specific parent value.
# e.g ui.cursor.primary > ui.cursor > ui
# GENERAL ==============================
warning = { } # Editor warnings.
error = { } # Editor errors, like mis-typing a command.
info = { } # Contextual info in diagnostic messages (LSP).
hint = { } # Code diagnostics hints (LSP).
diagnostic = { } # Code diagnostics in editing area (LSP).
# UI ==============================
# For styling helix itself.
'ui.background' = { } # Default background color.
'ui.window' = { } # Window border between splits.
'ui.gutter' = { } # Left gutter for diagnostics and breakpoints.
'ui.text' = { } # Default text color.
'ui.text.focus' = { } # Selection highlight in buffer-picker or file-picker.
'ui.text.info' = { } # Info popup contents (space mode menu).
'ui.cursor' = { } # Fallback cursor colour, non-primary cursors when there are multiple (shift-c).
'ui.cursor.primary' = { } # The primary cursor when there are multiple (shift-c).
'ui.cursor.insert' = { } # The cursor in insert mode (i).
'ui.cursor.select' = { } # The cursor in select mode (v).
'ui.cursor.match' = { } # The matching parentheses of that under the cursor.
'ui.selection' = { } # All currently selected text.
'ui.selection.primary' = { } # The primary selection when there are multiple.
'ui.linenr' = { } # Line numbers.
'ui.linenr.selected' = { } # Current line number.
'ui.virtual' = { } # Namespace for additions to the editing area.
'ui.virtual.ruler' = { } # Vertical rulers (colored columns in editing area).
'ui.virtual.whitespace' = { } # Whitespace markers in editing area.
'ui.statusline' = { } # Status line.
'ui.statusline.inactive' = { } # Status line in unfocused windows.
"ui.statusline.normal" = { } # Statusline mode during normal mode (only if editor.color-modes is enabled)
"ui.statusline.insert" = { } # Statusline mode during insert mode (only if editor.color-modes is enabled)
"ui.statusline.select" = { } # Statusline mode during select mode (only if editor.color-modes is enabled)
'ui.help' = { } # `:command` descriptions above the command line.
'ui.highlight' = { } # selected contents of symbol pickers (spc-s, spc-S) and current line in buffer picker (spc-b).
'ui.menu' = { } # Autocomplete menu.
'ui.menu.selected' = { } # Selected autocomplete item.
'ui.popup' = { } # Documentation popups (space-k).
'ui.popup.info' = { } # Info popups box (space mode menu).
# SYNTAX HIGHLIGHTING ==============================
# All the keys here are Treesitter scopes.
'property' = { } # Regex group names.
'special' = { } # Special symbols e.g `?` in Rust, `...` in Hare.
'attribute' = { } # Class attributes, html tag attributes.
'type' = { } # Variable type, like integer or string, including program defined classes, structs etc..
'type.builtin' = { } # Primitive types of the language (string, int, float).
'type.enum.variant' = { } # A variant of an enum.
'constructor' = { } # Constructor method for a class or struct.
'constant' = { } # Constant value
'constant.builtin' = { } # Special constants like `true`, `false`, `none`, etc.
'constant.builtin.boolean' = { } # True or False.
'constant.character' = { } # Constant of character type.
'constant.character.escape' = { } # escape codes like \n.
'constant.numeric' = { } # constant integer or float value.
'constant.numeric.integer' = { } # constant integer value.
'constant.numeric.float' = { } # constant float value.
'string' = { } # String literal.
'string.regexp' = { } # Regular expression literal.
'string.special' = { } # Strings containing a path, URL, etc.
'string.special.path' = { } # String containing a file path.
'string.special.url' = { } # String containing a web URL.
'string.special.symbol' = { } # Erlang/Elixir atoms, Ruby symbols, Clojure keywords.
'comment' = { } # This is a comment.
'comment.line' = { } # Line comments, like this.
'comment.block' = { } # Block comments, like /* this */ in some languages.
'comment.block.documentation' = { } # Doc comments, e.g '///' in rust.
'variable' = { } # Variable names.
'variable.builtin' = { } # Language reserved variables: `this`, `self`, `super`, etc.
'variable.parameter' = { } # Function parameters.
'variable.other.member' = { } # Fields of composite data types (e.g. structs, unions).
'label' = { } # Loop labels, among other things.
'punctuation' = { } # Any punctuation symbol.
'punctuation.delimiter' = { } # Commas, colons or other delimiter depending on the language.
'punctuation.bracket' = { } # Parentheses, angle brackets, etc.
'keyword' = { } # Language reserved keywords.
'keyword.control' = { } # Control keywords.
'keyword.control.conditional' = { } # `if`, `else`, `elif`.
'keyword.control.repeat' = { } # `for`, `while`, `loop`.
'keyword.control.import' = { } # `import`, `export` `use`.
'keyword.control.return' = { } # `return` in most languages.
'keyword.control.exception' = { } # `try`, `catch`, `raise`/`throw` and related.
'keyword.operator' = { } # `or`, `and`, `in`.
'keyword.directive' = { } # Preprocessor directives (#if in C...).
'keyword.function' = { } # The keyword to define a function: 'def', 'fun', 'fn'.
'operator' = { } # Logical, mathematical, and other operators.
'function' = { }
'function.builtin' = { }
'function.method' = { } # Class / Struct methods.
'function.macro' = { }
'function.special' = { } # Preprocessor function in C.
'tag' = { } # As in <body> for html, css tags.
'tag.error' = { } # Erroneous closing html tags.
'namespace' = { } # Namespace or module identifier.
# Markup ==============================
# Colors for markup languages, like Markdown or XML.
'markup.heading.1' = { } # Markdown heading 1 color.
'markup.heading.2' = { } # Markdown heading 2 color.
'markup.heading.3' = { } # Markdown heading 3 color.
'markup.heading.4' = { } # Markdown heading 4 color.
'markup.heading.5' = { } # Markdown heading 5 color.
'markup.heading.6' = { } # Markdown heading 6 color.
'markup.heading.marker' = { } # Hashtag color on Markdown headings.
'markup.list' = { }
'markup.list.numbered' = { } # Numbered list.
'markup.list.unnumbered' = { } # Bullet point list.
'markup.bold' = { } # Bold text.
'markup.italic' = { } # Italicised text.
'markup.link' = { }
'markup.link.url' = { } # Urls pointed to by links.
'markup.link.label' = { } # Non-URL link references.
'markup.link.text' = { } # URL and image descriptions in links.
'markup.quote' = { } # `> Quotes` in Markdown.
# Markup - Interface ==============================
# "These scopes are used for theming the editor interface."
'markup.normal' = { }
'markup.normal.completion' = { } # For completion doc popup ui.
'markup.normal.raw' = { } # For hover popup ui.
'markup.heading.completion' = { } # Headings for completion doc popup ui.
'markup.heading.raw' = { } # Headings for hover popup ui.
'markup.raw' = { } # Code block in Markdown.
'markup.raw.block' = { } # Multiline (```) codeblock in Markdown.
'markup.raw.inline' = { } # `Inline code block` in Markdown.
'markup.raw.inline.completion' = { } # ?
'markup.raw.inline.hover' = { } # ?
# Diff ==============================
# Version control changes.
'diff.plus' = { } # Additions.
'diff.minus' = { } # Deletions.
'diff.delta' = { } # Modifications.
'diff.delta.moved' = { } # Renamed or moved files.
[palette] # Define your custom colors here.
white = '#ffffff'