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
Updates to align with my code elsewhere
algmyr.se
3 years ago
b68353b1
c1a7cb41
+19
-18
1 changed file
expand all
collapse all
unified
split
lua
wombat_lua.lua
+19
-18
lua/wombat_lua.lua
···
11
11
namespace = '#E5786D',
12
12
statement = '#88B8F6',
13
13
operator = '#88B8F6',
14
14
-
identifer = '#CAE682',
14
14
+
identifier = '#E3E0D7',
15
15
+
func = '#CAE682',
15
16
type = '#D4D987',
16
17
special = '#EADEAD',
17
18
string = '#95E454',
···
20
21
21
22
search = '#D787FF',
22
23
search_bg = '#636066',
23
23
-
--fold = '#A0A8B0',
24
24
fold = '#E3E0D7', -- norm, for now
25
25
fold_bg = '#3A4046',
26
26
match_paren = '#EAE788',
···
52
52
note = '#00FF00',
53
53
note_bg = '#0000FF',
54
54
55
55
-
black = '#080808',
56
56
-
brick = '#FF5F55',
57
57
-
orange = '#FFAA00',
58
58
-
red = '#FF2026',
55
55
+
unknown = '#FF2026',
59
56
}
60
57
61
58
for key, value in pairs(my_colors) do
···
101
98
Group.new("Underlined", c.none, c.none, s.underline)
102
99
Group.new("Ignore", c.main_bg, c.none, s.none)
103
100
104
104
-
Group.new("ErrorMsg", c.error, c.none, s.bold)
105
105
-
Group.new("WarningMsg", c.warning, c.none, s.bold)
106
106
-
Group.new("MoreMsg", c.mid_gray, c.none, s.bold)
107
107
-
Group.link("ModeMsg",g.MoreMsg)
101
101
+
-- Messages, setting ErrorMsg to bold will make errors rather visible,
102
102
+
-- setting ErrorMsg to have a bg color even more so. :)
103
103
+
-- Sadly this is also noisy af, not recommended for day to day usage.
104
104
+
-- Should probably be a config option, like a debug mode.
105
105
+
Group.new("ErrorMsg", c.error, c.none, s.none)
106
106
+
Group.new("WarningMsg", c.warning, c.none, s.none)
107
107
+
Group.new("MoreMsg", c.mid_gray, c.none, s.none)
108
108
+
Group.link("ModeMsg", g.MoreMsg)
108
109
109
110
Group.new("NonText", c.non_text, c.none, s.none)
110
110
-
Group.new("Note", c.none, c.none, s.bold) -- e.g. TODO and FIXME
111
111
+
Group.new("Note", c.none, c.none, s.bold) -- e.g. TODO and FIXME
111
112
112
113
-- ? {{{1
113
114
--Group.new("Directory", c.dark_blue, c.none, s.none)
114
115
--Group.new("IncSearch", c.light_black, c.yellow, s.none)
115
116
--Group.new("CursorLineNr", c.purple, c.bg_very_subtle, s.none)
116
116
-
--Group.new("Question", c.red, c.none, s.none)
117
117
+
--Group.new("Question", c.unknown, c.none, s.none)
117
118
--Group.new("WildMenu", c.main_bg, c.norm, s.none)
118
119
--Group.new("Folded", c.medium_gray, c.none, s.none)
119
120
--Group.new("FoldColumn", c.bg_subtle, c.none, s.none)
···
161
162
Group.link("Macro", g.PreProc)
162
163
Group.link("PreCondit", g.PreProc)
163
164
164
164
-
Group.new("Identifier", c.identifer, c.none, s.none)
165
165
-
Group.link("Function", g.Identifier)
165
165
+
Group.new("Identifier", c.identifier, c.none, s.none)
166
166
+
Group.new("Function", c.func, c.none, s.none)
166
167
167
168
Group.new("Type", c.type, c.none, s.none)
168
169
Group.link("StorageClass", g.Type)
···
192
193
Group.link("CocFadeOut", g.Noop)
193
194
194
195
-- Syntax - Treesitter {{{1
195
195
-
Group.new("UnknownThing", c.norm, c.red)
196
196
+
Group.new("UnknownThing", c.norm, c.unknown)
196
197
197
198
Group.link("TSBoolean", g.Boolean)
198
199
Group.link("TSFloat", g.Float)
···
257
258
--Group.link("TSAttribute", g.UnknownThing)
258
259
--Group.link("TSField", g.UnknownThing)
259
260
--Group.link("TSNone", g.UnknownThing)
260
260
-
Group.link("TSSymbol", g.Special)
261
261
Group.link("TSMath", g.UnknownThing)
262
262
Group.link("TSURI", g.UnknownThing)
263
263
Group.link("TSEnvironment", g.UnknownThing)
···
266
266
267
267
Group.new("TSNamespace", c.namespace, c.none)
268
268
Group.link("TSOperator", g.Operator)
269
269
-
--Group.link("TSProperty", g.UnknownThing)
269
269
+
Group.link("TSProperty", g.Identifier)
270
270
+
Group.link("TSVariable", g.Identifier)
271
271
+
Group.link("TSSymbol", g.Special)
270
272
--Group.link("TSParameterReference", g.UnknownThing)
271
271
-
--Group.link("TSVariable", g.UnknownThing)
272
273
--Group.link("TSVariableBuiltin", g.UnknownThing)
273
274
--Group.link("TSConstBuiltin", g.UnknownThing)
274
275
--Group.link("TSConstMacro", g.UnknownThing)