nvim-tree.lua/lua/nvim-tree
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
..
actions feat: add ui.confirm.remove and ui.confirm.trash, deprecate trash.require_confirm (#1887) 2023-01-08 17:43:01 +11:00
explorer feat(git): support DA state, fix(#1822): test directory capable of watching before presenting it (#1905) 2023-01-10 13:32:53 +11:00
git chore: remove diagnostic suppressions after tidying nits 2023-01-01 13:27:05 +11:00
iterators feat(bookmarks): add bookmark feature (#1412) 2022-07-11 10:00:12 +02:00
marks feat(notify): add notify.threshold (#1693) 2022-11-01 10:24:40 +11:00
renderer feat(git): support DA state, fix(#1822): test directory capable of watching before presenting it (#1905) 2023-01-10 13:32:53 +11:00
api.lua feat(api): add api.config.mappings.active, api.config.mappings.default (#1876) 2023-01-03 13:13:49 +11:00
colors.lua feat(view): indicate modified buffers (#1835) 2022-12-31 15:54:04 +11:00
config.lua fix(keypress): use <cmd> instead of : to avoid triggering CmdLineEnter 2022-07-14 09:33:19 +02:00
core.lua fix(#549): add more profiling ~tree init 2022-12-16 12:12:06 +11:00
diagnostics.lua fix(diagnostics): do not show on file/dir with same prefix 2022-12-23 12:44:30 +11:00
events.lua feat(event): add TreeAttachedPost (#1877) 2023-01-07 11:50:41 +11:00
keymap.lua fix: inverted diagnostic navigation keymaps 2022-08-20 14:40:09 +10:00
legacy.lua feat(view): add view.width.min/max replacing adaptive_size, allowing upper bound (#1915) 2023-01-21 15:21:18 +11:00
lib.lua feat(api): add api.tree.get_nodes 2022-11-19 15:54:16 +11:00
live-filter.lua fix: replace vim.* "requires" with explicit calls to vim functions (#1701) 2022-11-06 10:37:33 +11:00
log.lua chore: remove diagnostic suppressions after tidying nits 2023-01-01 13:27:05 +11:00
modified.lua fix(#1878): nvim frozen on no name buffer when modified.enable (#1879) 2023-01-03 13:11:14 +11:00
notify.lua fix(#1831): improve fs_scandir error handling, add profiling 2022-12-17 16:59:09 +11:00
utils.lua chore: remove diagnostic suppressions after tidying nits 2023-01-01 13:27:05 +11:00
view.lua feat(view): add view.width.min/max replacing adaptive_size, allowing upper bound (#1915) 2023-01-21 15:21:18 +11:00
watcher.lua fix(#1916): suppress EPERM watcher failures on windows (#1919) 2023-01-16 13:00:57 +11:00