|
|
@ -339,7 +339,7 @@ Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
|
|
|
|
|
|
|
|
|
|
|
|
#### Packer.nvim
|
|
|
|
#### Packer.nvim
|
|
|
|
|
|
|
|
|
|
|
|
Create an autocmd `User PackerCompileDone` to update it
|
|
|
|
Create an autocmd `User PackerCompileDone` to update it every time packer is compiled:
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
@ -352,7 +352,7 @@ vim.api.nvim_create_autocmd("User", {
|
|
|
|
|
|
|
|
|
|
|
|
#### Vim-plug
|
|
|
|
#### Vim-plug
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
- Auto compile on save if catppuccin config is in `init.vim`
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
autocmd BufWritePost init.vim :CatppuccinCompile
|
|
|
|
autocmd BufWritePost init.vim :CatppuccinCompile
|
|
|
|