Migrate from telescope to snacks.picker

This commit is contained in:
2025-07-14 15:14:06 +02:00
parent 13f09db11b
commit 4554653236
5 changed files with 131 additions and 230 deletions
+13 -4
View File
@@ -1,10 +1,6 @@
require("catppuccin").setup({
compile_path = vim.env.out .. "/lua/colors",
integrations = {
telescope = {
enabled = true,
style = "nvchad"
},
blink_cmp = true,
harpoon = true,
nvim_surround = true,
@@ -16,4 +12,17 @@ require("catppuccin").setup({
enabled = true,
},
},
custom_highlights = function(C)
return {
SnacksPickerMatch = { fg = C.mauve, style = { 'italic' } },
SnacksPickerInput = { fg = C.text, bg = C.crust },
SnacksPickerInputTitle = { fg = C.crust, bg = C.mauve },
SnacksPickerInputBorder = { fg = C.text, bg = C.crust },
SnacksPickerList = { bg = C.base },
SnacksPickerListCursorLine = { bg = C.crust },
SnacksPickerPreview = { bg = C.mantle },
SnacksPickerPreviewBorder = { fg = C.mantle, bg = C.mantle },
SnacksPickerPreviewTitle = { fg = C.mantle, bg = C.red },
}
end
})