Comments (7)
Thanks @ErikBjare for the quick fix!
from aw-watcher-vim.
I think this is important, syncronous commands can be quite slow. aw-watcher-vim already did shell commands prior to this change, but they did so asyncronously, so it did not have an impact on responsiveness. There is nothing more annoying than an unresponsive editor!
I think that the branch detection should be made asyncronous as well. It's also a bit excessive to check git branch on pretty much every time you move the cursor.
from aw-watcher-vim.
I can confirm this makes editing in vim totally unusable.
@johan-bjareholt @FilipHarald I think this change should be reverted until there's a more efficient async implementation working.
from aw-watcher-vim.
Totally agree with you @johan-bjareholt. It would be sufficient to get the branch on buffer change for instance and save it as a global variable instead.
from aw-watcher-vim.
Maybe just checking every 10-60seconds (possibly configurable) and do it asynchronously would probably be good. Should be a bit more reliable than a buffer change.
from aw-watcher-vim.
Ah, my bad. I can look into it this weekend. But I can't promise I'll solve it :)
from aw-watcher-vim.
@infokiller I agree, it was my bad to merge too eagerly. Reverted now, see #25 (comment)
from aw-watcher-vim.
Related Issues (17)
- nvim incompatible HOT 10
- Broken in nvim
- Not working in vim 8 HOT 5
- Add aw-core and aw-client as vendored dependencies
- Broken when more than a single vim instance is running HOT 2
- We are not inclusive enough in the heartbeats HOT 2
- Error: E216: No such group or event: VimSuspend,VimResume * call s:Heartbeat() HOT 2
- Occasional error when exiting: `Error detected while processing function HTTPPostOnExitNeovim...` HOT 9
- Add branch information HOT 5
- Issue with neovim+alacritty HOT 2
- Can't start watcher, weird channel errors? Data is 000 HOT 3
- send filetype name HOT 1
- Unable to install aw-client due to failing aw-core requirement HOT 5
- vimwatcher.py crashes when launching nvim: heartbeat() got an unexpected keyword argument HOT 2
- Cumbersome to use within virtual environments HOT 3
- Log messages after startup of VIM 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 aw-watcher-vim.