Comments (11)
I had same issue too for last two weeks. After that I realized it started happening on one of nvim v0.10.x versions. I don't have this issue on stable v0.9.4.
from nvim-tree.lua.
Do you mind providing as minimal reproducer as possible, it will help with the issue. Thanks.
from nvim-tree.lua.
Looks like the actions here resolves it:
require"nvim-tree".setup{
filters = {
dotfiles = true,
git_clean = true,
no_buffer = false,
},
actions = {
change_dir = { enable = false }
},
}
from nvim-tree.lua.
Are all those mappings and settings critical for reproducing this behaviour?
from nvim-tree.lua.
no, I just included them so it would be clear that there is nothing in those mappings that causes this behavior (at least to me it seems like it)
from nvim-tree.lua.
I'm having the same issue. I can reproduce it by running nvim -nu nvt-min.lua
using nvt-min.lua from the "Clean Room" Replication wiki page.
from nvim-tree.lua.
That's true.
nvim -nu nvt-min.lua
:NvimTreeOpen
:unm <buffer> <C-e>
<C-e>
couple of times to scroll viewport down:lua require('nvim-tree.api').node.open.edit()
Scrolls root node back to top.
from nvim-tree.lua.
I had same issue too for last two weeks. After that I realized it started happening on one of nvim v0.10.x versions. I don't have this issue on stable v0.9.4.
I was also on v0.10.x and switching to the latest stable version fixes the problem for me as well.
from nvim-tree.lua.
same issue for long time
from nvim-tree.lua.
on my machine, this seems intermittent. I have not find specific variable that sometimes making the tree scrolled to bottom.
Screen.Recording.2024-02-02.at.12.37.14.mov
on the screen recording, I don't use @/pbower 's solution to disable change_dir
action. but disabling change_dir
won't fix for me
from nvim-tree.lua.
Confirming: this is happening on nvim 0.10
If that's the case I'd prefer that we waited some time before investigating this. 0.10 is a very large release, containing many significant change and has had several volatile breaks. Once it's stable we can investigate further.
from nvim-tree.lua.
Related Issues (20)
- Don't close floating window when rename or create files using floating `vim.ui.input` window HOT 7
- nvim gets stuck if git option is set in the config HOT 6
- E5108 when calling help with g? HOT 4
- Renaming of file to different case does not work HOT 1
- Opening nvim-tree has a lag delay (1~2s) when root_dir of nvim-tree is different with current buffer HOT 1
- More Fields For sort.sorter Function
- Float view doen't autoclose on opening a file HOT 5
- Nvim Tree does not respect custom theme HOT 1
- Remove View Cached Windows And Buffers
- Allow creating directories when renaming files (behavior like create file) HOT 3
- Hide folders without filter results in live filter HOT 1
- Passing nil as window handle in view.get_winnr
- Modified Icon And Highlight Broken Following Highlight Overhaul
- after #2415 NonText and WinSeparator have no highlight HOT 6
- Ungroup empty folders HOT 4
- Sticky scroll like TreesitterContext and vscode file tree HOT 1
- LineNrAbove/Below Not Applying LineNr
- Add a `binaries` field to `nvim-tree-opts-filters` or `nvim-tree-opts-sort`
- NvimTree file highlighted as bad spell (SpellCap) HOT 16
- Validate Array Like Table Options
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-tree.lua.