chore(readme): Add autocmd example

dev
nullchilly 2 years ago
parent 88d2b1bc7e
commit 84d44c94d5

@ -333,7 +333,7 @@ To auto-compile catppuccin after `:PackerCompile`, create an autocmd:
vim.api.nvim_create_autocmd("User PackerCompileDone", {
pattern = "*",
callback = function()
vim.cmd ":CatppuccinCompile"
vim.cmd "CatppuccinCompile"
end,
})
```

Loading…
Cancel
Save