fix(colorscheme): use get_theme() for catppuccin bufferline integration

catppuccin's bufferline integration no longer provides `get()`.
Switch to `get_theme()` to avoid the error:

attempt to call field 'get' (a nil value)
This commit is contained in:
wyl-dev 2025-09-12 15:56:43 -05:00 committed by GitHub
parent 25abbf546d
commit 5cb85cb801
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,
},