tangled
alpha
login
or
join now
algmyr.se
/
vim-wombat-lua
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Add stylua config and autoformat.
algmyr.se
9 months ago
d4b10feb
55990867
+173
-169
2 changed files
expand all
collapse all
unified
split
lua
wombat_lua
init.lua
stylua.toml
+168
-169
lua/wombat_lua/init.lua
···
9
9
10
10
local my_colors = {
11
11
-- Syntax elements
12
12
-
constant = '#E5786D',
13
13
-
namespace = '#E5786D',
14
14
-
statement = '#88B8F6',
15
15
-
operator = '#88B8F6',
16
16
-
identifier = '#E3E0D7',
17
17
-
func = '#CAE682',
18
18
-
type = '#D4D987',
19
19
-
special = '#EADEAD',
20
20
-
string = '#95E454',
21
21
-
escape = '#D787FF',
22
22
-
character = '#E5786D',
12
12
+
constant = "#E5786D",
13
13
+
namespace = "#E5786D",
14
14
+
statement = "#88B8F6",
15
15
+
operator = "#88B8F6",
16
16
+
identifier = "#E3E0D7",
17
17
+
func = "#CAE682",
18
18
+
type = "#D4D987",
19
19
+
special = "#EADEAD",
20
20
+
string = "#95E454",
21
21
+
escape = "#D787FF",
22
22
+
character = "#E5786D",
23
23
24
24
-- Diffing
25
25
-
diff_add = '#003300',
26
26
-
diff_delete = '#440000',
27
27
-
diff_change = '#222200',
28
28
-
sign_add = '#33cc33',
29
29
-
sign_change = '#cccc33',
30
30
-
sign_change_delete = '#ee9933',
31
31
-
sign_delete = '#cc3333',
32
32
-
sign_delete_first_line = '#cc3333',
25
25
+
diff_add = "#003300",
26
26
+
diff_delete = "#440000",
27
27
+
diff_change = "#222200",
28
28
+
sign_add = "#33cc33",
29
29
+
sign_change = "#cccc33",
30
30
+
sign_change_delete = "#ee9933",
31
31
+
sign_delete = "#cc3333",
32
32
+
sign_delete_first_line = "#cc3333",
33
33
34
34
-- Misc highlight
35
35
-
comment = '#9C998E',
36
36
-
non_text = '#6e696c',
37
37
-
bright_text = '#ffffd7',
35
35
+
comment = "#9C998E",
36
36
+
non_text = "#6e696c",
37
37
+
bright_text = "#ffffd7",
38
38
39
39
-- UI
40
40
-
search = '#D787FF',
41
41
-
search_bg = '#636066',
42
42
-
fold = '#E3E0D7', -- norm, for now
43
43
-
fold_bg = '#3A4046',
44
44
-
match_paren = '#EAE788',
45
45
-
match_paren_bg = '#857B6F',
46
46
-
visual_bg = '#554D4B',
40
40
+
search = "#D787FF",
41
41
+
search_bg = "#636066",
42
42
+
fold = "#E3E0D7", -- norm, for now
43
43
+
fold_bg = "#3A4046",
44
44
+
match_paren = "#EAE788",
45
45
+
match_paren_bg = "#857B6F",
46
46
+
visual_bg = "#554D4B",
47
47
48
48
-
bg_accent = '#1C1C1C',
49
49
-
norm_accent = '#9C998E',
50
50
-
main_bg = '#242424',
51
51
-
norm = '#E3E0D7',
52
52
-
bg_very_subtle = '#303030',
53
53
-
bg_more_subtle = '#3a3a3a',
54
54
-
bg_subtle = '#444444',
48
48
+
bg_accent = "#1C1C1C",
49
49
+
norm_accent = "#9C998E",
50
50
+
main_bg = "#242424",
51
51
+
norm = "#E3E0D7",
52
52
+
bg_very_subtle = "#303030",
53
53
+
bg_more_subtle = "#3a3a3a",
54
54
+
bg_subtle = "#444444",
55
55
56
56
-
mid_gray = '#838086',
56
56
+
mid_gray = "#838086",
57
57
58
58
-- LSP and diagnostics
59
59
-
annotation = '#00bbbb',
60
60
-
warning = '#E7ED30',
61
61
-
error = '#FF444A',
62
62
-
todo = '#D4D987',
59
59
+
annotation = "#00bbbb",
60
60
+
warning = "#E7ED30",
61
61
+
error = "#FF444A",
62
62
+
todo = "#D4D987",
63
63
64
64
-- TODO
65
65
-
note = '#00FF00',
66
66
-
note_bg = '#0000FF',
65
65
+
note = "#00FF00",
66
66
+
note_bg = "#0000FF",
67
67
68
68
-
unknown = '#FF2026',
68
68
+
unknown = "#FF2026",
69
69
}
70
70
71
71
for key, value in pairs(my_colors) do
···
73
73
end
74
74
75
75
-- General {{{1
76
76
-
Group.new("Normal", c.norm, c.main_bg)
77
77
-
Group.new("Cursor", c.main_bg, c.norm)
78
78
-
Group.new("Visual", c.none, c.visual_bg)
79
79
-
Group.new("VisualNOS", c.none, c.bg_very_subtle)
80
80
-
Group.new("Search", c.search, c.search_bg)
81
81
-
Group.new("Folded", c.fold, c.fold_bg)
82
82
-
Group.new('VertSplit', c.norm_accent, c.bg_accent)
83
83
-
Group.new("LineNr", c.norm_accent, c.bg_accent, s.none)
84
84
-
Group.new("CursorLine", c.none, c.bg_very_subtle, s.none)
85
85
-
Group.new("CursorColumn", c.none, c.bg_very_subtle, s.none)
86
86
-
Group.new("ColorColumn", c.none, c.error, s.none)
87
87
-
Group.new("MatchParen", c.match_paren, c.match_paren_bg, s.bold)
88
88
-
Group.new("Title", c.bright_text, c.none, s.bold)
76
76
+
Group.new("Normal", c.norm, c.main_bg)
77
77
+
Group.new("Cursor", c.main_bg, c.norm)
78
78
+
Group.new("Visual", c.none, c.visual_bg)
79
79
+
Group.new("VisualNOS", c.none, c.bg_very_subtle)
80
80
+
Group.new("Search", c.search, c.search_bg)
81
81
+
Group.new("Folded", c.fold, c.fold_bg)
82
82
+
Group.new("VertSplit", c.norm_accent, c.bg_accent)
83
83
+
Group.new("LineNr", c.norm_accent, c.bg_accent, s.none)
84
84
+
Group.new("CursorLine", c.none, c.bg_very_subtle, s.none)
85
85
+
Group.new("CursorColumn", c.none, c.bg_very_subtle, s.none)
86
86
+
Group.new("ColorColumn", c.none, c.error, s.none)
87
87
+
Group.new("MatchParen", c.match_paren, c.match_paren_bg, s.bold)
88
88
+
Group.new("Title", c.bright_text, c.none, s.bold)
89
89
90
90
-- Pmenu (and pmenu scrollbar) {{{1
91
91
-
Group.new("Pmenu", c.norm, c.bg_accent, s.none)
91
91
+
Group.new("Pmenu", c.norm, c.bg_accent, s.none)
92
92
Group.new("PmenuSel", c.norm, c.bg_very_subtle, s.bold)
93
93
--Group.new("PmenuSbar", c.norm, c.bg_subtle, s.none)
94
94
--Group.new("PmenuThumb", c.norm, c.bg_subtle, s.none)
95
95
96
96
-- Diff {{{1
97
97
-
Group.new("DiffAdd", c.none, c.diff_add)
97
97
+
Group.new("DiffAdd", c.none, c.diff_add)
98
98
Group.new("DiffDelete", c.none, c.diff_delete)
99
99
Group.new("DiffChange", c.none, c.diff_change)
100
100
-
Group.new("DiffText", c.none, c.diff_change, s.underline+s.bold)
100
100
+
Group.new("DiffText", c.none, c.diff_change, s.underline + s.bold)
101
101
102
102
-- Unsure why I have to specify the bg here,
103
103
-- seems the default uses the diff line color?
···
107
107
Group.new("SignDelete", c.sign_delete, c.bg_accent, s.none)
108
108
Group.new("SignDeleteFirstLine", c.sign_delete_first_line, c.bg_accent, s.none)
109
109
110
110
-
Group.link("SignifySignAdd", g.SignAdd)
111
111
-
Group.link("SignifySignChange", g.SignChange)
112
112
-
Group.link("SignifySignChangeDelete", g.SignChangeDelete)
113
113
-
Group.link("SignifySignDelete", g.SignDelete)
110
110
+
Group.link("SignifySignAdd", g.SignAdd)
111
111
+
Group.link("SignifySignChange", g.SignChange)
112
112
+
Group.link("SignifySignChangeDelete", g.SignChangeDelete)
113
113
+
Group.link("SignifySignDelete", g.SignDelete)
114
114
Group.link("SignifySignDeleteFirstLine", g.SignDeleteFirstLine)
115
115
116
116
-
Group.link("GitGutterAdd", g.SignAdd)
117
117
-
Group.link("GitGutterDelete", g.SignDelete)
118
118
-
Group.link("GitGutterChange", g.SignChange)
116
116
+
Group.link("GitGutterAdd", g.SignAdd)
117
117
+
Group.link("GitGutterDelete", g.SignDelete)
118
118
+
Group.link("GitGutterChange", g.SignChange)
119
119
Group.link("GitGutterChangeDelete", g.SignChangeDelete)
120
120
121
121
-- Misc {{{1
122
122
Group.new("SpecialKey", c.mid_gray, c.none, s.none)
123
123
-
Group.new("Underlined", c.none, c.none, s.underline)
124
124
-
Group.new("Ignore", c.main_bg, c.none, s.none)
123
123
+
Group.new("Underlined", c.none, c.none, s.underline)
124
124
+
Group.new("Ignore", c.main_bg, c.none, s.none)
125
125
126
126
-
Group.new("Error", c.error, c.none, s.none)
127
127
-
Group.new("Warning", c.warning, c.none, s.none)
128
128
-
Group.new("Hint", c.annotation, c.none, s.none)
129
129
-
Group.new("Info", c.annotation, c.none, s.none)
126
126
+
Group.new("Error", c.error, c.none, s.none)
127
127
+
Group.new("Warning", c.warning, c.none, s.none)
128
128
+
Group.new("Hint", c.annotation, c.none, s.none)
129
129
+
Group.new("Info", c.annotation, c.none, s.none)
130
130
131
131
-
Group.new("ErrorMsg", c.error, c.none, s.none)
132
132
-
Group.new("WarningMsg", c.warning, c.none, s.none)
133
133
-
Group.new("MoreMsg", c.mid_gray, c.none, s.none)
134
134
-
Group.link("ModeMsg", g.MoreMsg)
131
131
+
Group.new("ErrorMsg", c.error, c.none, s.none)
132
132
+
Group.new("WarningMsg", c.warning, c.none, s.none)
133
133
+
Group.new("MoreMsg", c.mid_gray, c.none, s.none)
134
134
+
Group.link("ModeMsg", g.MoreMsg)
135
135
136
136
Group.new("NonText", c.non_text, c.none, s.none)
137
137
-
Group.new("Note", c.none, c.none, s.bold) -- e.g. TODO and FIXME
137
137
+
Group.new("Note", c.none, c.none, s.bold) -- e.g. TODO and FIXME
138
138
139
139
-- ? {{{1
140
140
--Group.new("Directory", c.dark_blue, c.none, s.none)
···
144
144
--Group.new("WildMenu", c.main_bg, c.norm, s.none)
145
145
--Group.new("Folded", c.medium_gray, c.none, s.none)
146
146
147
147
-
Group.new("SignColumn", c.none, c.bg_accent, s.none)
147
147
+
Group.new("SignColumn", c.none, c.bg_accent, s.none)
148
148
Group.new("FoldColumn", c.mid_gray, c.bg_accent, s.none)
149
149
150
150
--Group.new("TabLine", c.norm, c.bg_very_subtle, s.none)
···
161
161
--Group.new("htmlH6", c.norm, c.bg, s.none)
162
162
163
163
-- Syntax - Main groups {{{1
164
164
-
Group.new("Statement", c.statement, c.none, s.none)
165
165
-
Group.link("Keyword", g.Statement)
164
164
+
Group.new("Statement", c.statement, c.none, s.none)
165
165
+
Group.link("Keyword", g.Statement)
166
166
Group.link("Conditional", g.Statement)
167
167
-
Group.link("Repeat", g.Statement)
168
168
-
Group.link("Label", g.Statement)
169
169
-
Group.link("Keyword", g.Statement)
170
170
-
Group.link("Exception", g.Statement)
167
167
+
Group.link("Repeat", g.Statement)
168
168
+
Group.link("Label", g.Statement)
169
169
+
Group.link("Keyword", g.Statement)
170
170
+
Group.link("Exception", g.Statement)
171
171
172
172
Group.new("Constant", c.constant, c.none, s.none)
173
173
-
Group.link("Number", g.Constant)
173
173
+
Group.link("Number", g.Constant)
174
174
Group.link("Boolean", g.Constant)
175
175
-
Group.link("Float", g.Constant)
175
175
+
Group.link("Float", g.Constant)
176
176
177
177
-
Group.link("PreProc", g.Constant)
178
178
-
Group.link("Include", g.PreProc)
179
179
-
Group.link("Define", g.PreProc)
180
180
-
Group.link("Macro", g.PreProc)
177
177
+
Group.link("PreProc", g.Constant)
178
178
+
Group.link("Include", g.PreProc)
179
179
+
Group.link("Define", g.PreProc)
180
180
+
Group.link("Macro", g.PreProc)
181
181
Group.link("PreCondit", g.PreProc)
182
182
183
183
Group.new("Identifier", c.identifier, c.none, s.none)
184
184
-
Group.new("Function", c.func, c.none, s.none)
184
184
+
Group.new("Function", c.func, c.none, s.none)
185
185
186
186
-
Group.new("Type", c.type, c.none, s.none)
186
186
+
Group.new("Type", c.type, c.none, s.none)
187
187
Group.link("StorageClass", g.Type)
188
188
-
Group.link("Structure", g.Type)
189
189
-
Group.link("Typedef", g.Type)
188
188
+
Group.link("Structure", g.Type)
189
189
+
Group.link("Typedef", g.Type)
190
190
191
191
-
Group.new("Special", c.special, c.none, s.none)
192
192
-
Group.link("SpecialChar", g.Special)
193
193
-
Group.link("Tag", g.Special)
194
194
-
Group.link("Delimiter", g.Special)
191
191
+
Group.new("Special", c.special, c.none, s.none)
192
192
+
Group.link("SpecialChar", g.Special)
193
193
+
Group.link("Tag", g.Special)
194
194
+
Group.link("Delimiter", g.Special)
195
195
Group.link("SpecialComment", g.Special)
196
196
-
Group.link("Debug", g.Special)
196
196
+
Group.link("Debug", g.Special)
197
197
198
198
-
Group.new("String", c.string, c.none)
199
199
-
Group.new("Character", c.character, c.none)
200
200
-
Group.new("StringEscape", c.escape, c.none)
198
198
+
Group.new("String", c.string, c.none)
199
199
+
Group.new("Character", c.character, c.none)
200
200
+
Group.new("StringEscape", c.escape, c.none)
201
201
--Group.link("Character", g.String)
202
202
203
203
-
Group.new("Comment", c.comment, c.none)
203
203
+
Group.new("Comment", c.comment, c.none)
204
204
Group.new("Operator", c.operator, c.none)
205
205
-
Group.new("Todo", c.main_bg, c.todo)
205
205
+
Group.new("Todo", c.main_bg, c.todo)
206
206
207
207
-
Group.new("Noop", c.norm_accent, c.none, s.none)
207
207
+
Group.new("Noop", c.norm_accent, c.none, s.none)
208
208
Group.link("CocFadeOut", g.Noop)
209
209
210
210
-
Group.new("Annotation", c.annotation, c.none)
211
211
-
Group.link("LspInlayHint", g.NonText)
212
212
-
Group.link("CocInlayHint", g.NonText)
210
210
+
Group.new("Annotation", c.annotation, c.none)
211
211
+
Group.link("LspInlayHint", g.NonText)
212
212
+
Group.link("CocInlayHint", g.NonText)
213
213
Group.link("DiagnosticHint", g.NonText)
214
214
215
215
-
Group.link("DiagnosticSignHint", g.Hint)
216
216
-
Group.link("DiagnosticSignInfo", g.Info)
217
217
-
Group.link("DiagnosticSignWarn", g.Warning)
218
218
-
Group.link("DiagnosticSignError", g.Error)
219
219
-
Group.link("DiagnosticHint", g.Hint)
220
220
-
Group.link("DiagnosticInfo", g.Info)
221
221
-
Group.link("DiagnosticWarn", g.Warning)
222
222
-
Group.link("DiagnosticError", g.Error)
215
215
+
Group.link("DiagnosticSignHint", g.Hint)
216
216
+
Group.link("DiagnosticSignInfo", g.Info)
217
217
+
Group.link("DiagnosticSignWarn", g.Warning)
218
218
+
Group.link("DiagnosticSignError", g.Error)
219
219
+
Group.link("DiagnosticHint", g.Hint)
220
220
+
Group.link("DiagnosticInfo", g.Info)
221
221
+
Group.link("DiagnosticWarn", g.Warning)
222
222
+
Group.link("DiagnosticError", g.Error)
223
223
Group.link("DiagnosticUnnecessary", g.NonText)
224
224
225
225
-- Syntax - Treesitter {{{1
···
232
232
233
233
-- @errors is TS errors. Wildly noisy if you enable it.
234
234
--Group.link("@error", g.ErrorMsg) -- syntax/parser errors
235
235
-
Group.link("@comment", g.Comment) -- line and block comments
235
235
+
Group.link("@comment", g.Comment) -- line and block comments
236
236
--Group.link("@none", g.UnknownThing) -- completely disable the highlight
237
237
--Group.link("@preproc", g.UnknownThing) -- various preprocessor directives & shebangs
238
238
--Group.link("@define", g.UnknownThing) -- preprocessor definition directives
239
239
-
Group.link("@operator", g.Operator) -- symbolic operators (e.g. `+` / `*`)
239
239
+
Group.link("@operator", g.Operator) -- symbolic operators (e.g. `+` / `*`)
240
240
241
241
-- Punctuation {{{2
242
242
Group.link("@punctuation.delimiter", g.Special) -- delimiters (e.g. `;` / `.` / `,`)
243
243
-
Group.link("@punctuation.bracket", g.Special) -- brackets (e.g. `()` / `{}` / `[]`)
244
244
-
Group.link("@punctuation.special", g.Special) -- special symbols (e.g. `{}` in string interpolation)
243
243
+
Group.link("@punctuation.bracket", g.Special) -- brackets (e.g. `()` / `{}` / `[]`)
244
244
+
Group.link("@punctuation.special", g.Special) -- special symbols (e.g. `{}` in string interpolation)
245
245
246
246
-- Literals {{{2
247
247
-
Group.link("@string", g.String) -- string literals
248
248
-
Group.link("@string.regex", g.String) -- regular expressions
249
249
-
Group.link("@string.escape", g.StringEscape) -- escape sequences
250
250
-
Group.link("@string.special", g.String) -- other special strings (e.g. dates)
247
247
+
Group.link("@string", g.String) -- string literals
248
248
+
Group.link("@string.regex", g.String) -- regular expressions
249
249
+
Group.link("@string.escape", g.StringEscape) -- escape sequences
250
250
+
Group.link("@string.special", g.String) -- other special strings (e.g. dates)
251
251
252
252
-
Group.link("@character", g.Character) -- character literals
252
252
+
Group.link("@character", g.Character) -- character literals
253
253
Group.link("@character.special", g.Character) -- special characters (e.g. wildcards)
254
254
255
255
Group.link("@boolean", g.Boolean) -- boolean literals
256
256
-
Group.link("@number", g.Number) -- numeric literals
257
257
-
Group.link("@float", g.Float) -- floating-point number literals
256
256
+
Group.link("@number", g.Number) -- numeric literals
257
257
+
Group.link("@float", g.Float) -- floating-point number literals
258
258
259
259
-- Functions {{{2
260
260
-
Group.link("@function", g.Function) -- function definitions
261
261
-
Group.link("@function.builtin", g.Function) -- built-in functions
260
260
+
Group.link("@function", g.Function) -- function definitions
261
261
+
Group.link("@function.builtin", g.Function) -- built-in functions
262
262
--Group.link("@function.call", g.UnknownThing) -- function calls
263
263
-
Group.link("@function.macro", g.Function) -- preprocessor macros
263
263
+
Group.link("@function.macro", g.Function) -- preprocessor macros
264
264
265
265
-
Group.link("@method", g.Function) -- method definitions
265
265
+
Group.link("@method", g.Function) -- method definitions
266
266
-- Group.link("@method.call", g.UnknownThing) -- method calls
267
267
268
268
Group.link("@constructor", g.Function) -- constructor calls and definitions
269
269
-
Group.link("@parameter", g.Normal) -- parameters of a function
269
269
+
Group.link("@parameter", g.Normal) -- parameters of a function
270
270
271
271
-- Keywords {{{2
272
272
-
Group.link("@keyword", g.Keyword) -- various keywords
272
272
+
Group.link("@keyword", g.Keyword) -- various keywords
273
273
Group.link("@keyword.function", g.Keyword) -- keywords that define a function (e.g. `func` in Go, `def` in Python)
274
274
Group.link("@keyword.operator", g.Keyword) -- operators that are English words (e.g. `and` / `or`)
275
275
-
Group.link("@keyword.return", g.Keyword) -- keywords like `return` and `yield`
275
275
+
Group.link("@keyword.return", g.Keyword) -- keywords like `return` and `yield`
276
276
277
277
-
Group.link("@conditional", g.Conditional) -- keywords related to conditionals (e.g. `if` / `else`)
278
278
-
Group.link("@repeat", g.Repeat) -- keywords related to loops (e.g. `for` / `while`)
277
277
+
Group.link("@conditional", g.Conditional) -- keywords related to conditionals (e.g. `if` / `else`)
278
278
+
Group.link("@repeat", g.Repeat) -- keywords related to loops (e.g. `for` / `while`)
279
279
--Group.link("@debug", g.UnknownThing) -- keywords related to debugging
280
280
-
Group.link("@label", g.Label) -- GOTO and other labels (e.g. `label:` in C)
281
281
-
Group.link("@include", g.Include) -- keywords for including modules (e.g. `import` / `from` in Python)
282
282
-
Group.link("@exception", g.Exception) -- keywords related to exceptions (e.g. `throw` / `catch`)
280
280
+
Group.link("@label", g.Label) -- GOTO and other labels (e.g. `label:` in C)
281
281
+
Group.link("@include", g.Include) -- keywords for including modules (e.g. `import` / `from` in Python)
282
282
+
Group.link("@exception", g.Exception) -- keywords related to exceptions (e.g. `throw` / `catch`)
283
283
284
284
-- Types {{{2
285
285
-
Group.link("@type", g.Type) -- type or class definitions and annotations
286
286
-
Group.link("@type.builtin", g.Type) -- built-in types
285
285
+
Group.link("@type", g.Type) -- type or class definitions and annotations
286
286
+
Group.link("@type.builtin", g.Type) -- built-in types
287
287
--Group.link("@type.definition", g.UnknownThing) -- type definitions (e.g. `typedef` in C)
288
288
--Group.link("@type.qualifier", g.UnknownThing) -- type qualifiers (e.g. `const`)
289
289
···
291
291
--Group.link("@storageclass.lifetime", g.UnknownThing) -- life-time modifiers (e.g. `static`)
292
292
--Group.link("@attribute", g.UnknownThing) -- attribute annotations (e.g. Python decorators)
293
293
--Group.link("@field", g.UnknownThing) -- object and struct fields
294
294
-
Group.link("@property", g.Identifier) -- similar to `@field`
294
294
+
Group.link("@property", g.Identifier) -- similar to `@field`
295
295
296
296
-- Identifiers {{{2
297
297
-
Group.link("@variable", g.Identifier) -- various variable names
297
297
+
Group.link("@variable", g.Identifier) -- various variable names
298
298
--Group.link("@variable.builtin", g.UnknownThing) -- built-in variable names (e.g. `this`)
299
299
300
300
-
Group.link("@constant", g.Constant) -- constant identifiers
300
300
+
Group.link("@constant", g.Constant) -- constant identifiers
301
301
--Group.link("@constant.builtin", g.UnknownThing) -- built-in constant values
302
302
--Group.link("@constant.macro", g.UnknownThing) -- constants defined by the preprocessor
303
303
304
304
Group.new("@namespace", c.namespace, c.none) -- modules or namespaces
305
305
-
Group.link("@symbol", g.Special) -- symbols or atoms
305
305
+
Group.link("@symbol", g.Special) -- symbols or atoms
306
306
307
307
-- Text {{{2
308
308
-
Group.link("@text", g.Normal) -- non-structured text
309
309
-
Group.link("@text.strong", g.Normal) -- bold text
310
310
-
Group.link("@text.emphasis", g.Normal) -- text with emphasis
311
311
-
Group.link("@text.underline", g.Normal) -- underlined text
312
312
-
Group.link("@text.strike", g.Normal) -- strikethrough text
313
313
-
Group.link("@text.title", g.Normal) -- text that is part of a title
314
314
-
Group.link("@text.literal", g.Normal) -- literal or verbatim text
315
315
-
Group.link("@text.uri", g.UnknownThing) -- URIs (e.g. hyperlinks)
316
316
-
Group.link("@text.math", g.UnknownThing) -- math environments (e.g. `$ ... $` in LaTeX)
317
317
-
Group.link("@text.environment", g.UnknownThing) -- text environments of markup languages
308
308
+
Group.link("@text", g.Normal) -- non-structured text
309
309
+
Group.link("@text.strong", g.Normal) -- bold text
310
310
+
Group.link("@text.emphasis", g.Normal) -- text with emphasis
311
311
+
Group.link("@text.underline", g.Normal) -- underlined text
312
312
+
Group.link("@text.strike", g.Normal) -- strikethrough text
313
313
+
Group.link("@text.title", g.Normal) -- text that is part of a title
314
314
+
Group.link("@text.literal", g.Normal) -- literal or verbatim text
315
315
+
Group.link("@text.uri", g.UnknownThing) -- URIs (e.g. hyperlinks)
316
316
+
Group.link("@text.math", g.UnknownThing) -- math environments (e.g. `$ ... $` in LaTeX)
317
317
+
Group.link("@text.environment", g.UnknownThing) -- text environments of markup languages
318
318
Group.link("@text.environment.name", g.UnknownThing) -- text indicating the type of an environment
319
319
-
Group.link("@text.reference", g.Normal) -- text references, footnotes, citations, etc.
320
320
-
319
319
+
Group.link("@text.reference", g.Normal) -- text references, footnotes, citations, etc.
321
320
322
321
-- I think the defaults are fine here?
323
322
-- Group.link("@text.todo", g.TODO) -- todo notes
324
324
-
Group.link("@text.note", g.Note) -- info notes
323
323
+
Group.link("@text.note", g.Note) -- info notes
325
324
Group.link("@text.warning", g.Warning) -- warning notes
326
326
-
Group.link("@text.danger", g.Error) -- danger/error notes
325
325
+
Group.link("@text.danger", g.Error) -- danger/error notes
327
326
328
328
-
Group.link("@text.diff.add", g.DiffAdd) -- added text (for diff files)
327
327
+
Group.link("@text.diff.add", g.DiffAdd) -- added text (for diff files)
329
328
Group.link("@text.diff.delete", g.DiffDelete) -- deleted text (for diff files)
330
329
331
330
-- Tags {{{2
332
332
-
Group.link("@tag", g.Special) -- XML tag names
331
331
+
Group.link("@tag", g.Special) -- XML tag names
333
332
Group.link("@tag.attribute", g.Special) -- XML tag attributes
334
333
Group.link("@tag.delimiter", g.Special) -- XML tag delimiters
335
334
···
345
344
-------------------------------------
346
345
347
346
-- Undocumented or invalid?
348
348
-
Group.link("@annotation", g.UnknownThing)
347
347
+
Group.link("@annotation", g.UnknownThing)
349
348
--Group.link("@parameter.reference", g.UnknownThing)
350
349
351
351
-
Group.new("TODO", c.none, c.none) -- what even set this?
350
350
+
Group.new("TODO", c.none, c.none) -- what even set this?
352
351
353
352
-- TOSORT {{{1
354
353
Group.new("WombatGreen", c.type, c.none, s.none)
355
354
356
356
-
Group.link("NoiceCmdlineIcon", g.Normal) -- cmdline icon
357
357
-
Group.link("NoiceCmdlinePopupBorder", g.Normal) -- cmdline border
358
358
-
Group.link("NoiceCmdlineIconSearch", g.WombatGreen) -- search icon
355
355
+
Group.link("NoiceCmdlineIcon", g.Normal) -- cmdline icon
356
356
+
Group.link("NoiceCmdlinePopupBorder", g.Normal) -- cmdline border
357
357
+
Group.link("NoiceCmdlineIconSearch", g.WombatGreen) -- search icon
359
358
Group.link("NoiceCmdlinePopupBorderSearch", g.WombatGreen) -- search border
360
359
361
361
-
Group.new('NormalFloat', c.norm_accent, c.bg_accent)
360
360
+
Group.new("NormalFloat", c.norm_accent, c.bg_accent)
362
361
363
363
-
Group.new("NoicePopupmenu", c.norm, c.error, s.none)
362
362
+
Group.new("NoicePopupmenu", c.norm, c.error, s.none)
364
363
365
364
Group.new("IblIndent", c.bg_more_subtle, c.none, s.none)
366
365
Group.new("IblScope", c.norm_accent, c.none, s.none)
+5
stylua.toml
···
1
1
+
syntax = "Lua52"
2
2
+
column_width = 80
3
3
+
indent_type = "Spaces"
4
4
+
indent_width = 2
5
5
+
no_call_parentheses = true