chore(readme): Update compiling readme

dev
nullchilly 2 years ago
parent 5b168e34fd
commit 6dcbd95cde

@ -319,6 +319,8 @@ Catppuccin provides these commands to work with the catppuccin compiler.
It's recommended to add `:CatppuccinCompile` to post-install/update hooks. For example: It's recommended to add `:CatppuccinCompile` to post-install/update hooks. For example:
#### Packer.nvim
```lua ```lua
use { use {
"catppuccin/nvim", "catppuccin/nvim",
@ -327,7 +329,7 @@ use {
} }
``` ```
# Vim-plug #### Vim-plug
```lua ```lua
Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'} Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
@ -335,7 +337,7 @@ Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
To auto-compile catppuccin after `:PackerCompile`, create an autocmd `User PackerCompileDone` in User group To auto-compile catppuccin after `:PackerCompile`, create an autocmd `User PackerCompileDone` in User group
# Packer.nvim #### Packer.nvim
```lua ```lua
vim.api.nvim_create_autocmd("User", { vim.api.nvim_create_autocmd("User", {
@ -346,7 +348,7 @@ vim.api.nvim_create_autocmd("User", {
}) })
``` ```
# Vim-plug #### Vim-plug
```lua ```lua
autocmd User VimPlugDone :CatppuccinCompile autocmd User VimPlugDone :CatppuccinCompile

Loading…
Cancel
Save