@ -310,7 +310,9 @@ Catppuccin is a highly customizable and configurable colorscheme. This does howe
Catppuccin can pre compute the results of your configuration and store the results in a compiled lua file. We use these precached values to set it's highlights.
Catppuccin can pre compute the results of your configuration and store the results in a compiled lua file. We use these precached values to set it's highlights.
- Setting `enabled` to `true` enables this feature:
#### Enable
Setting `enabled` to `true` enables this feature:
```lua
```lua
compile = {
compile = {
@ -322,16 +324,17 @@ compile = {
By default catppuccin writes the compiled results into the system's cache directory.
By default catppuccin writes the compiled results into the system's cache directory.
- Catppuccin provides these commands to work with the catppuccin compiler.
#### Compile commands
```bash
```bash
:CatppuccinCompile # Create/update the compile file
:CatppuccinCompile # Create/update the compile file
:CatppuccinClean # Delete compiled file
:CatppuccinClean # Delete compiled file
```
```
- To auto-compile everytime you update your config:
#### Post-install/update hooks
It's recommended to add `:CatppuccinCompile` to post-install/update hooks. For example:
**Packer.nvim**
Packer.nvim
```lua
```lua
-- It's recommended to add `:CatppuccinCompile` to post-install/update hooks
-- It's recommended to add `:CatppuccinCompile` to post-install/update hooks