feat(resize): add ability to grow and shrink the tree when drawing (#1293)

Will adapt the view size based on the longest line.
fixes #865
This commit is contained in:
Kiyan
2022-05-31 09:05:00 +02:00
committed by GitHub
parent 6b26628acf
commit 2002b21be7
5 changed files with 31 additions and 0 deletions

View File

@@ -360,6 +360,7 @@ local DEFAULT_OPTS = { -- BEGIN_DEFAULT_OPTS
reload_on_bufenter = false,
respect_buf_cwd = false,
view = {
adaptive_size = false,
width = 30,
height = 30,
hide_root_folder = false,