chore(readme): Fix compile section

dev
nullchilly 2 years ago
parent cefc77ac7c
commit 0307daeb04

@ -331,7 +331,7 @@ By default catppuccin writes the compiled results into the system's cache direct
- 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 **Packer.nvim**
```lua ```lua
use { use {
@ -341,7 +341,7 @@ use {
} }
``` ```
#### Vim-plug **Vim-plug**
```lua ```lua
Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'} Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
@ -349,7 +349,7 @@ Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
- To auto-compile everytime you update your config: - To auto-compile everytime you update your config:
#### Packer.nvim **Packer.nvim**
Create an autocmd `User PackerCompileDone` to update it every time packer is compiled: Create an autocmd `User PackerCompileDone` to update it every time packer is compiled:
@ -362,7 +362,7 @@ vim.api.nvim_create_autocmd("User", {
}) })
``` ```
#### Vim-plug **Vim-plug**
Auto compile on save if catppuccin config is in `init.vim` Auto compile on save if catppuccin config is in `init.vim`

Loading…
Cancel
Save