From f7e01f18f7be02f5c0ca4245e4ea15be01b6b686 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Sun, 29 Aug 2021 16:23:55 -0500 Subject: [PATCH] chore: updated config in readme --- README.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 842fe8c..0c2f96a 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ NeoBundleFetch 'Pocco81/Catppuccino.nvim' There are already some sane defaults that you may like, however you can change them to match your taste. These are the defaults: ```lua -colorscheme = "catppuccino", +colorscheme = "dark_catppuccino", transparency = false, styles = { comments = "italic", @@ -183,7 +183,7 @@ local catppuccino = require("catppuccino") -- configure it catppuccino.setup( { - colorscheme = "catppuccino", + colorscheme = "dark_catppuccino", transparency = false, styles = { comments = "italic", @@ -224,9 +224,6 @@ catppuccino.setup( } } ) - --- load it -catppuccino.load() ```
@@ -243,7 +240,7 @@ local catppuccino = require("catppuccino") -- configure it catppuccino.setup( { - colorscheme = "catppuccino", + colorscheme = "dark_catppuccino", transparency = false, styles = { comments = "italic", @@ -284,12 +281,24 @@ catppuccino.setup( } } ) - --- load it -catppuccino.load() EOF ``` +After setting things up, you can load Catppuccino like so: + +For Lua: +```lua +catppuccino.load() +``` +If `` is not passed then it'll pick the one in the config. + + +For VimScript: +```lua +colorscheme catppuccino +``` +Passing `catppuccino` to the `colorscheme` command will pick the colorscheme in the config. Optionally you may pass the one you want to use by its code name (e.g. `colorscheme neon_latte`). +