From 6d83b17fe787091e70ee36c7aefa00c4f60e9419 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Wed, 25 Aug 2021 21:29:29 -0500 Subject: [PATCH] dev: better doc --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9cc50e1..de44b1f 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,10 @@ integrations = { gitgutter = false, gitsigns = false, telescope = false, - nvimtree = false, + nvimtree = { + enabled = false, + show_root = false, + }, which_key = false, indent_blankline = false, dashboard = false, @@ -202,7 +205,10 @@ catppuccino.setup( gitgutter = false, gitsigns = false, telescope = false, - nvimtree = false, + nvimtree = { + enabled = false, + show_root = false, + }, which_key = false, indent_blankline = false, dashboard = false, @@ -259,7 +265,10 @@ catppuccino.setup( gitgutter = false, gitsigns = false, telescope = false, - nvimtree = false, + nvimtree = { + enabled = false, + show_root = false, + }, which_key = false, indent_blankline = false, dashboard = false, @@ -346,13 +355,8 @@ require('lualine').setup { 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 integration = { 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: | Function | Description | -|--------------------|------------------------------| +| ------------------ | ---------------------------- | | `before_loading()` | Before loading a colorscheme | | `after_loading()` | After loading a colorscheme |