Closed 0xhoussam closed 3 weeks ago
Are you doing some sort of lazy loading? In that case is your colorscheme loaded before lualines setup is called?
i am using lazy in my config this is how am importing the colorscheme
{
dir = "~/projects/fleet",
dev = true,
lazy = false,
priority = 1000,
},
and with some print debuging i can confirm that the colorscheme is loaded before the lualine
it should be
local palette = require("fleet.palette").palette
You are using require wrong.
my colorscheme directory structure
the content of lua/lualine/themes/fleet.lua
lualine config
and this is the warning i got
Theme `fleet` not found, falling back to `auto`. Check if spelling is right.
but oddly enough when i open my colorscheme directory to edit it the theme is applied with no errors