feat: remove the custom .load() command, prefer the native colorscheme

dev-doc
Pocco81 3 years ago
parent 5a5c6144dc
commit 6b10b7bb44

@ -361,20 +361,15 @@ EOF
After setting things up, you can load Catppuccino like so: After setting things up, you can load Catppuccino like so:
For Lua: ```vim
" Vim Script
```lua colorscheme catppuccino
catppuccino.load(<colorscheme_name>)
``` ```
If `<colorscheme_name>` is not passed then it'll pick the one in the config.
For VimScript:
```lua ```lua
colorscheme catppuccino -- Lua
vim.cmd[[colorscheme catppuccino]]
``` ```
Passing `catppuccino` to the `colorscheme` command will pick the colorscheme in the config. Optionally, you could pass one by its code name (e.g. `colorscheme neon_latte`). Passing `catppuccino` to the `colorscheme` command will pick the colorscheme in the config. Optionally, you could pass one by its code name (e.g. `colorscheme neon_latte`).
For instructions on how to configure the plugin, check out the [configuration](#configuration) section. For instructions on how to configure the plugin, check out the [configuration](#configuration) section.

Loading…
Cancel
Save