From 7f718802b63de7badb3fec3150b345bb6b7674bb Mon Sep 17 00:00:00 2001 From: nullchilly Date: Sun, 17 Jul 2022 00:32:46 +0700 Subject: [PATCH] chore(readme): Remove api --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 831ec2a..0bf136a 100644 --- a/README.md +++ b/README.md @@ -376,9 +376,7 @@ Acknowledge: [nightfox.nvim#compile](https://github.com/EdenEast/nightfox.nvim#c ### Extra -##### Modules - -- `colors` +##### Get catppuccin palette ```lua require("catppuccin.palettes").get_palette() @@ -450,7 +448,7 @@ Instead of `after_loading` hook, you can use autocmd event like this: vim.api.nvim_create_autocmd("User", { pattern = "CatppuccinLoaded", callback = function() - local colors = require("catppuccin.api.colors").get_colors() + local colors = require("catppuccin.palettes").get_palette() -- do something with colors end })