fix: echo at init

dev
Pocco81 2 years ago
parent e338561461
commit 646a384083

@ -6,8 +6,7 @@ local command = vim.api.nvim_create_user_command
command("Catppuccin", function(inp) command("Catppuccin", function(inp)
if not vim.tbl_contains(flavours, inp.args) then if not vim.tbl_contains(flavours, inp.args) then
local echo = require("catppuccin.utils.echo") require("catppuccin.utils.echo")("Invalid flavour")
echo("Invalid flavour", "info")
return return
end end
vim.g.catppuccin_flavour = inp.args vim.g.catppuccin_flavour = inp.args

Loading…
Cancel
Save