dev: better doc

dev-doc
Pocco81 3 years ago
parent 0fb0ca6dc0
commit 6d83b17fe7

@ -152,7 +152,10 @@ integrations = {
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -202,7 +205,10 @@ catppuccino.setup(
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -259,7 +265,10 @@ catppuccino.setup(
gitgutter = false, gitgutter = false,
gitsigns = false, gitsigns = false,
telescope = false, telescope = false,
nvimtree = false, nvimtree = {
enabled = false,
show_root = false,
},
which_key = false, which_key = false,
indent_blankline = false, indent_blankline = false,
dashboard = false, dashboard = false,
@ -346,13 +355,8 @@ require('lualine').setup {
let g:lightline = {'colorscheme': 'catppuccino'} let g:lightline = {'colorscheme': 'catppuccino'}
``` ```
- **nvim-tree:** can be configured in either of the following ways: - **NvimTree:** setting `enabled` to `true` enables this integration:
```lua
integrations = {
nvimtree = true
}
```
```lua ```lua
integration = { integration = {
nvimtree = { nvimtree = {
@ -473,7 +477,7 @@ diff = { -- also used for gitsigns
Use them to execute code at certain events [described by their names]. These are the ones available: Use them to execute code at certain events [described by their names]. These are the ones available:
| Function | Description | | Function | Description |
|--------------------|------------------------------| | ------------------ | ---------------------------- |
| `before_loading()` | Before loading a colorscheme | | `before_loading()` | Before loading a colorscheme |
| `after_loading()` | After loading a colorscheme | | `after_loading()` | After loading a colorscheme |

Loading…
Cancel
Save