Skip to content

Commit

Permalink
fix(flavour): g:catppuccin_flavour backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Apr 13, 2024
1 parent 08c6417 commit fc98570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/catppuccin/init.lua
Expand Up @@ -150,7 +150,7 @@ function M.load(flavour)
M.compile()
f = assert(loadfile(compiled_path), "could not load cache")
end
f(flavour or M.options.flavour)
f(flavour or M.options.flavour or vim.g.catppuccin_flavour)
end

---@type fun(user_conf: CatppuccinOptions?)
Expand Down

0 comments on commit fc98570

Please sign in to comment.