Comments (9)
1) I feel no more delay with help files than with other files, but you could do this:
let g:signify_skip_filetype = { 'help': 1 }
2) I never used vimproc so far, but I'll look into it. :)
from vim-signify.
Hmm, after having a quick look I'm not sure if vimproc is of any help here. Sure, I can start programs in the background (which works with system('foo &')
, too, but I without any means of synchronization I can't see how to use that to the plugin's advantage.
from vim-signify.
I guess there's no callback to get the response and then update the symbols once the task has finished?
I'll try the help thing, but for some reason I thought that wasn't working.
from vim-signify.
Yup, no callback.
Skipping the help filetype really isn't working, if you're open it via :help
, because at the time the plugin is run, the filetype is still text
. I see what I can do about it.
from vim-signify.
On the subject of async stuff, what about this plugin?
https://github.com/MarcWeber/vim-addon-async
Edit: Also this: https://github.com/tpope/vim-dispatch
P.S. I did notice by just setting the vcs_list
to just git and hg improved performance tremendously.
from vim-signify.
(Just back from Denmark!)
Yup, vcs_list
is the most important variable of this plugin by far. :-)
I'll ask Marc Weber about his plugin, since he's a local on IRC. I'll have a look at dispatch, too.
from vim-signify.
Neither dispatch nor Marc Weber's plugin will do what we need and apparently it's just not possible to do in Vim. It's mainly because of a fundamental design flaw: Vim is inherently single-threaded. This will always be one of the great differences between Vim and Emacs. :)
from vim-signify.
Bummer. Does Powerline get around these things by using python interfaces? Mostly just curious as to why.
P.S. Thanks for putting up with all my wild ideas :)
from vim-signify.
Well, your feedback is very welcome and I'm sorry that there isn't more I can do in this case. We probably have to find other approaches to make the plugin run faster. I have to rethink the design of the whole "get diff - process - set signs" cycle some day.
I never used powerline. Does it asynchronous things?
from vim-signify.
Related Issues (20)
- Stopped work suddenly
- Unknown function: sy#start HOT 2
- Show git changes by colour HOT 1
- Visual bug HOT 1
- Jump to a line number without counting uncommited lines HOT 1
- For some files, the ~ symbol will always be displayed HOT 2
- Is it possible to color the line number instead of a sign? HOT 2
- Custom `numhl` highlightings are ignored HOT 2
- Vim-signify does not work. HOT 5
- Get "Undefined variable: g:signify_detecting" error when I start vim. HOT 1
- signify creates infinite highlight groups HOT 3
- Sign Blocks and lua file
- [Feature Request] Window borders for SignifyHunkDiff
- Support for DesignSync (dssc) version control system HOT 1
- documentation for legacy branch
- open all folds on disable signify folds
- Support environment variables in diff commands HOT 1
- `List index out of range` caused by missing priority in `sign place` output
- Error when opening hunk diff floating window on neovim HOT 1
- `Key not present in Dictionary` errors when using `g:signify_vcs_cmds` 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 vim-signify.