|
|
@ -341,7 +341,7 @@ use {
|
|
|
|
run = "CatppuccinCompile",
|
|
|
|
run = "CatppuccinCompile",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# 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:
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
pattern = "PackerCompileDone",
|
|
|
|
pattern = "PackerCompileDone",
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
@ -352,7 +352,7 @@ vim.api.nvim_create_autocmd("User", {
|
|
|
|
|
|
|
|
|
|
|
|
**Vim-plug**
|
|
|
|
**Vim-plug**
|
|
|
|
|
|
|
|
|
|
|
|
```vim
|
|
|
|
```bash
|
|
|
|
# It's recommended to add `:CatppuccinCompile` to post-install/update hooks
|
|
|
|
# It's recommended to add `:CatppuccinCompile` to post-install/update hooks
|
|
|
|
Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
|
|
|
|
Plug 'catppuccin/nvim', {'as': 'catppuccin', 'do': 'CatppuccinCompile'}
|
|
|
|
# Auto compile on save if catppuccin config is in `init.vim`
|
|
|
|
# Auto compile on save if catppuccin config is in `init.vim`
|
|
|
|