nvim-tree.lua/lua
ramezgerges 96506fee49
feat(view): add view.width.min/max replacing adaptive_size, allowing upper bound (#1915)
* feat: max_width for adaptive_size

* view grow calculates size correctly based on sign column visibility

* limit width to a minimum of 20

* adaptive_size -> min/max table

* harden view size calculations against bad user input

* style

* add back an extra column of padding to adaptive resizing

* back out: limit width to a minimum of 20

* revert unnecessary change

* backout: view grow calculates size correctly based on sign column visibility

* remove adaptive_size from help

* backout unnecessary change M.View.config

Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-01-21 15:21:18 +11:00
..
nvim-tree feat(view): add view.width.min/max replacing adaptive_size, allowing upper bound (#1915) 2023-01-21 15:21:18 +11:00
nvim-tree.lua feat(view): add view.width.min/max replacing adaptive_size, allowing upper bound (#1915) 2023-01-21 15:21:18 +11:00