nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sticky scroll like TreesitterContext and vscode file tree

xzbdmw opened this issue · comments

vscode's new feature of sticky scroll in file tree, I think it is really useful for deeply nested file structure.
https://github.com/nvim-tree/nvim-tree.lua/assets/97848247/4eb242fa-66a8-428d-8050-b32f52f867b8
TreesitterContext has similar function in buffer.
截屏2024-01-27 09 07 45
Is this feature possible of using api?

That is not possible via API however it is technically possible, without the smooth scrolling.

Pull Requests are most gratefully appreciated.