@@ -125,6 +125,113 @@ local configs = {
125
125
end ,
126
126
},
127
127
},
128
+ backwardspy = {
129
+ flavour = os.getenv " appearance" == " light" and " latte" or " mocha" ,
130
+ integrations = {
131
+ gitsigns = true ,
132
+ indent_blankline = { enabled = true },
133
+ leap = true ,
134
+ mini = true ,
135
+ neotree = true ,
136
+ noice = true ,
137
+ cmp = true ,
138
+ notify = true ,
139
+ treesitter = true ,
140
+ telescope = true ,
141
+ which_key = true ,
142
+ },
143
+ color_overrides = {
144
+ mocha = {
145
+ base = " #171717" ,
146
+ mantle = " #101010" ,
147
+ crust = " #0C0C0C" ,
148
+ },
149
+ },
150
+ custom_highlights = function (colors )
151
+ local utils = require " catppuccin.utils.colors"
152
+ local tint = function (color ) return utils .blend (color , colors .base , 0.2 ) end
153
+
154
+ return {
155
+ --
156
+ -- notify
157
+ --
158
+ NotifyBackground = { bg = colors .mantle },
159
+ --
160
+ -- noice
161
+ --
162
+ NoiceCmdlinePopup = { bg = colors .mantle },
163
+ NoiceCmdlinePopupBorder = { bg = colors .mantle , fg = colors .mantle },
164
+ --
165
+ -- telescope
166
+ --
167
+ TelescopeMatching = { fg = colors .yellow },
168
+ TelescopeSelection = { fg = colors .text , bg = colors .surface0 },
169
+ -- results
170
+ TelescopeResultsNormal = { bg = colors .mantle },
171
+ TelescopeResultsBorder = { bg = colors .mantle , fg = colors .mantle },
172
+ TelescopeResultsTitle = { fg = colors .mantle },
173
+ -- prompt
174
+ TelescopePromptNormal = { bg = colors .surface0 },
175
+ TelescopePromptBorder = { bg = colors .surface0 , fg = colors .surface0 },
176
+ TelescopePromptTitle = { bg = colors .teal , fg = colors .mantle },
177
+ TelescopePromptPrefix = { bg = colors .surface0 },
178
+ -- preview
179
+ TelescopePreviewNormal = { bg = colors .crust },
180
+ TelescopePreviewBorder = { bg = colors .crust , fg = colors .crust },
181
+ TelescopePreviewTitle = { bg = colors .pink , fg = colors .mantle },
182
+ --
183
+ -- neotree
184
+ --
185
+ NeoTreeNormal = { bg = colors .mantle },
186
+ NeoTreeNormalNC = { bg = colors .mantle },
187
+ --
188
+ -- cmp
189
+ --
190
+ PmenuSel = { bg = colors .mantle , fg = " NONE" },
191
+ Pmenu = { fg = colors .text , bg = colors .crust },
192
+
193
+ CmpItemAbbrDeprecated = { fg = colors .overlay0 , bg = " NONE" , style = { " strikethrough" } },
194
+ CmpItemAbbrMatch = { fg = colors .yellow , bg = " NONE" , style = { " bold" } },
195
+ CmpItemAbbrMatchFuzzy = { fg = colors .yellow , bg = " NONE" , style = { " bold" } },
196
+ CmpItemMenu = { fg = colors .lavender , bg = " NONE" , style = { " italic" } },
197
+
198
+ CmpItemKindField = { fg = colors .rosewater , bg = tint (colors .rosewater ) },
199
+ CmpItemKindProperty = { fg = colors .rosewater , bg = tint (colors .rosewater ) },
200
+ CmpItemKindEvent = { fg = colors .rosewater , bg = tint (colors .rosewater ) },
201
+
202
+ CmpItemKindText = { fg = colors .text , bg = tint (colors .text ) },
203
+ CmpItemKindModule = { fg = colors .text , bg = tint (colors .text ) },
204
+ CmpItemKindVariable = { fg = colors .text , bg = tint (colors .text ) },
205
+ CmpItemKindFile = { fg = colors .text , bg = tint (colors .text ) },
206
+ CmpItemKindUnit = { fg = colors .text , bg = tint (colors .text ) },
207
+ CmpItemKindValue = { fg = colors .text , bg = tint (colors .text ) },
208
+
209
+ CmpItemKindEnum = { fg = colors .yellow , bg = tint (colors .yellow ) },
210
+ CmpItemKindReference = { fg = colors .yellow , bg = tint (colors .yellow ) },
211
+ CmpItemKindClass = { fg = colors .yellow , bg = tint (colors .yellow ) },
212
+ CmpItemKindFolder = { fg = colors .yellow , bg = tint (colors .yellow ) },
213
+ CmpItemKindEnumMember = { fg = colors .yellow , bg = tint (colors .yellow ) },
214
+ CmpItemKindInterface = { fg = colors .yellow , bg = tint (colors .yellow ) },
215
+
216
+ CmpItemKindKeyword = { fg = colors .mauve , bg = tint (colors .mauve ) },
217
+
218
+ CmpItemKindConstant = { fg = colors .peach , bg = tint (colors .peach ) },
219
+
220
+ CmpItemKindConstructor = { fg = colors .lavender , bg = tint (colors .lavender ) },
221
+
222
+ CmpItemKindFunction = { fg = colors .blue , bg = tint (colors .blue ) },
223
+ CmpItemKindMethod = { fg = colors .blue , bg = tint (colors .blue ) },
224
+
225
+ CmpItemKindStruct = { fg = colors .teal , bg = tint (colors .teal ) },
226
+ CmpItemKindOperator = { fg = colors .teal , bg = tint (colors .teal ) },
227
+
228
+ CmpItemKindSnippet = { fg = colors .flamingo , bg = tint (colors .flamingo ) },
229
+
230
+ CmpItemKindColor = { fg = colors .pink , bg = tint (colors .pink ) },
231
+ CmpItemKindTypeParameter = { fg = colors .maroon , bg = tint (colors .maroon ) },
232
+ }
233
+ end ,
234
+ },
128
235
}
129
236
130
237
describe (" setup" , function ()
0 commit comments