fix(bufferline): bufferline use catppuccin both new and old APIS

- new APIs (get_bufferline)
- old APIs (get)
This commit is contained in:
wsgggws 2025-08-25 12:05:13 +08:00
parent 25abbf546d
commit 5111d2aa02

View file

@ -58,7 +58,7 @@ return {
optional = true,
opts = function(_, opts)
if (vim.g.colors_name or ""):find("catppuccin") then
opts.highlights = require("catppuccin.groups.integrations.bufferline").get()
opts.highlights = require("catppuccin.groups.integrations.bufferline").get_theme()
end
end,
},