Merge pull request #196 from jorgebef/dev

doc(conf): clarify and fix README description of `dim_inactive` in config
dev
Pocco81 2 years ago committed by GitHub
commit 03336345d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,7 +84,11 @@ Plugin 'catppuccin/nvim', {'name': 'catppuccin'}
There are already some sane defaults that you may like, however you can change them to match your taste. These are the defaults: There are already some sane defaults that you may like, however you can change them to match your taste. These are the defaults:
```lua ```lua
dim_inactive = false, dim_inactive = {
enabled = false
shade = "dark",
percentage = 0.15,
},
transparent_background = false, transparent_background = false,
term_colors = false, term_colors = false,
compile = { compile = {
@ -222,8 +226,14 @@ This settings are unrelated to any group and are independent.
- `transparent_background`: (Boolean) if true, disables setting the background color. - `transparent_background`: (Boolean) if true, disables setting the background color.
- `term_colors`: (Boolean) if true, sets terminal colors (e.g. `g:terminal_color_0`). - `term_colors`: (Boolean) if true, sets terminal colors (e.g. `g:terminal_color_0`).
- `dim_inactive`: (Boolean) if true, dims the background color of inactive
window or buffer or split. #### Dim inactive
This setting manages the ability to dim the inactive splits/windows/buffers displayed.
- `enabled`: (Boolean) if true, dims the background color of inactive window or buffer or split.
- `shade`: (string) sets the shade to apply to the inactive split or window or buffer.
- `percentage`: (number 0 < x < 1) percentage of the shade to apply to the inactive window, split or buffer.
#### Styles #### Styles
@ -281,6 +291,7 @@ integration = {
} }
} }
``` ```
- **Neo-tree:** setting `enabled` to `true` enables this integration: - **Neo-tree:** setting `enabled` to `true` enables this integration:
```lua ```lua
@ -308,6 +319,7 @@ compile = {
suffix = "_compiled" suffix = "_compiled"
}, },
``` ```
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. - Catppuccin provides these commands to work with the catppuccin compiler.

Loading…
Cancel
Save