Files
nvim-tree.lua/lua/nvim-tree/_meta/config/experimental.lua
Igor Lacerda cf18a662cd feat: experiment: restore nvim-tree on session load, see https://github.com/nvim-tree/nvim-tree.lua/issues/3343 (#3335)
* feat: restore buffers after loading a session

* feat(sessions): invalid json handling

* feat(sessions): switch to "persist in a file" strategy

* docs: no longer needs to toggle sessionoptions flag

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2026-07-10 11:27:15 +10:00

20 lines
564 B
Lua

---@meta
error("Cannot require a meta file")
---Experimental features that may become default or optional functionality.
---
---In the event of a problem please disable the experiment and raise an issue.
---
---@class nvim_tree.config.experimental
---
---Restore nvim-tree buffers when restoring vim sessions (requires 0.13+).
---(default: `false`)
---@field session_restore_nvim? boolean
--Example below for future reference:
--
--Buffers opened by nvim-tree will use with relative paths instead of absolute.
--(default: false)
--@field relative_path? boolean