feat: new config to be able to always open the tree on setup (#1023)

This commit is contained in:
Andreas Bissinger
2022-03-01 19:56:04 +01:00
committed by GitHub
parent 97717d8d23
commit 61a59ffae1
3 changed files with 26 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ function.
disable_netrw = false,
hijack_netrw = true,
open_on_setup = false,
ignore_buffer_on_setup = false,
ignore_ft_on_setup = {},
hijack_directories = {
enable = true,
@@ -171,6 +172,12 @@ Here is a list of the options available in the setup call:
type: `boolean`
default: `false`
*nvim-tree.ignore_buffer_on_setup*
- |ignore_buffer_on_setup|: will ignore the buffer, when deciding to open the tree
on setup
type: `boolean`
default: `false`
*nvim-tree.ignore_ft_on_setup*
- |ignore_ft_on_setup|: list of filetypes that will make |open_on_setup| not
open. You can use this option if you don't want the tree to open in some