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
A bunch of updates. New TS groups. Foldcolumn, sign stuff
algmyr.se
3 years ago
2ae9bbec
d89f775a
+31
-8
1 changed file
expand all
collapse all
unified
split
lua
wombat_lua.lua
+31
-8
lua/wombat_lua.lua
···
49
49
diff_delete = '#880000',
50
50
diff_change = '#444400',
51
51
52
52
+
annotation = '#00bbbb',
53
53
+
52
54
note = '#00FF00',
53
55
note_bg = '#0000FF',
54
56
55
57
unknown = '#FF2026',
58
58
+
59
59
+
sign_add = '#33cc33',
60
60
+
sign_change = '#cccc33',
61
61
+
sign_change_delete = '#ee9933',
62
62
+
sign_delete = '#cc3333',
63
63
+
sign_delete_first_line = '#cc3333',
56
64
}
57
65
58
66
for key, value in pairs(my_colors) do
···
117
125
--Group.new("Question", c.unknown, c.none, s.none)
118
126
--Group.new("WildMenu", c.main_bg, c.norm, s.none)
119
127
--Group.new("Folded", c.medium_gray, c.none, s.none)
120
120
-
--Group.new("FoldColumn", c.bg_subtle, c.none, s.none)
121
128
Group.new("SignColumn", c.none, c.bg_accent, s.none)
129
129
+
Group.new("FoldColumn", c.mid_gray, c.bg_accent, s.none)
122
130
123
131
--Group.new("TabLine", c.norm, c.bg_very_subtle, s.none)
124
132
--Group.new("TabLineSel", c.purple, c.bg_subtle, s.bold)
···
134
142
--Group.new("htmlH6", c.norm, c.bg, s.none)
135
143
136
144
-- Signify {{{1
137
137
-
Group.link("SignifySignAdd", g.LineNr)
138
138
-
Group.link("SignifySignDelete", g.LineNr)
139
139
-
Group.link("SignifySignChange", g.LineNr)
140
140
-
Group.link("GitGutterAdd", g.LineNr)
141
141
-
Group.link("GitGutterDelete", g.LineNr)
142
142
-
Group.link("GitGutterChange", g.LineNr)
143
143
-
Group.link("GitGutterChangeDelete", g.LineNr)
145
145
+
-- Unsure why I have to specify the bg here, seems the default uses the diff
146
146
+
-- line color?
147
147
+
Group.new("SignAdd", c.sign_add, c.bg_accent, s.none)
148
148
+
Group.new("SignChange", c.sign_change, c.bg_accent, s.none)
149
149
+
Group.new("SignChangeDelete", c.sign_change_delete, c.bg_accent, s.none)
150
150
+
Group.new("SignDelete", c.sign_delete, c.bg_accent, s.none)
151
151
+
Group.new("SignDeleteFirstLine", c.sign_delete_first_line, c.bg_accent, s.none)
152
152
+
153
153
+
Group.link("SignifySignAdd", g.SignAdd)
154
154
+
Group.link("SignifySignChange", g.SignChange)
155
155
+
Group.link("SignifySignChangeDelete", g.SignChangeDelete)
156
156
+
Group.link("SignifySignDelete", g.SignDelete)
157
157
+
Group.link("SignifySignDeleteFirstLine", g.SignDeleteFirstLine)
158
158
+
159
159
+
Group.link("GitGutterAdd", g.SignAdd)
160
160
+
Group.link("GitGutterDelete", g.SignDelete)
161
161
+
Group.link("GitGutterChange", g.SignChange)
162
162
+
Group.link("GitGutterChangeDelete", g.SignChangeDelete)
163
163
+
144
164
145
165
-- Syntax - Main groups {{{1
146
166
Group.new("Statement", c.statement, c.none, s.none)
···
192
212
Group.new("Noop", c.norm_accent, c.none, s.none)
193
213
Group.link("CocFadeOut", g.Noop)
194
214
215
215
+
Group.new("Annotation", c.annotation, c.none)
216
216
+
Group.link("CocInlayHint", g.Annotation)
217
217
+
Group.link("DiagnosticHint", g.Annotation)
195
218
196
219
197
220