Comments (2)
okay i fixed the cursor position issue, which was an error in the order of function calls...
i didn't noticed for the save issue, but i didn't work on large repos, i tested on multiple repos at the same time and indeed, i found that refreshing git takes a long time, i'm gonna try optimize that, or i could make it asynchronous but i don't know if it would fix the issue properly.
Basically, i think the system
calls to get the git status take too long to execute compared to the rest of the code, i don't really know if there is a way to fix this, i tried using the libuv spawn functions but they are non blocking and doing async in lua is quite a pain ...
from nvim-tree.lua.
actually looking at the code i just realized i'm calling those system function for every node, which is definitely wrong, they should only be called for each root of the git trees and bufferized, i will fix that asap :)
from nvim-tree.lua.
Related Issues (20)
- How can I make the nvim-tree display ".. "Folder?
- New git glyph option: 'added' HOT 7
- sync_root_with_cwd appears to be broken HOT 3
- Scrolling downwards is overriden by keymap HOT 3
- Incompatibility with fugitive and oil.nvim and other plugins HOT 5
- An option to control weather change root_folder when root_folder be clicked. HOT 1
- If using floating mode and creating a new file the floating window becomes the created file. HOT 2
- Bookmark filter should include parent directory HOT 1
- Bad contrast for NvimTreeWindowPicker & NvimTreeBookmarkHL on default colorscheme HOT 7
- Mappings/functionality discoverability discussion HOT 10
- update_root won't update with respect_buf_cwd when open file HOT 3
- change_root_to_node() does not work on files HOT 1
- how to use one instance in different tab HOT 2
- Sticky nvim-tree and not using window_picker: How to remember the window where navigating into nvim-tree from?
- Quitting neovim takes a long time when toggling git ignore folders HOT 3
- Add winfixbuf to view options HOT 4
- Provide interface to customize the comparing function between two nodes HOT 1
- 0.10 luadoc and lsp integration
- Parent folder deleted when deleting a folder starting with $ HOT 4
- Make it easy to discover useful shortcuts HOT 2
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.