|
|
@ -376,8 +376,7 @@ vim.api.nvim_create_autocmd("User", {
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
-- PackerCompile on save
|
|
|
|
-- PackerCompile on save assuming your plugin spefication file is in plugins.lua or catppuccin.lua
|
|
|
|
-- This assumes your plugin spefication file is in plugins.lua or catppuccin.lua
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
|
|
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
|
|
|
pattern = { "plugins.lua", "catppuccin.lua" },
|
|
|
|
pattern = { "plugins.lua", "catppuccin.lua" },
|
|
|
|
callback = function()
|
|
|
|
callback = function()
|
|
|
@ -393,7 +392,9 @@ Vim-plug
|
|
|
|
autocmd BufWritePost init.vim :CatppuccinCompile
|
|
|
|
autocmd BufWritePost init.vim :CatppuccinCompile
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Acknowledge: [nightfox.nvim#compile](https://github.com/EdenEast/nightfox.nvim#compile)
|
|
|
|
#### Acknowledge
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[nightfox.nvim#compile](https://github.com/EdenEast/nightfox.nvim#compile)
|
|
|
|
|
|
|
|
|
|
|
|
### Extra
|
|
|
|
### Extra
|
|
|
|
|
|
|
|
|
|
|
|