nvim-tree / nvim-tree/nvim-tree.lua

Sticky scroll like TreesitterContext and vscode file tree

Open
#2,650 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request QOL
Dominant language
Lua
Stars
8.6k
Forks
639
Avg merge
1d 14h
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the nvim-tree rendering entry points and the Neovim API, then compare the requested behavior with TreesitterContext and the linked VS Code examples. Done would require a defined implementation approach and clear acceptance criteria for sticky scrolling in deeply nested file trees.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.