Giter Site home page Giter Site logo

Comments (9)

mhinz avatar mhinz commented on May 24, 2024

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.

mhinz avatar mhinz commented on May 24, 2024

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.

amadeus avatar amadeus commented on May 24, 2024

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.

mhinz avatar mhinz commented on May 24, 2024

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.

amadeus avatar amadeus commented on May 24, 2024

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.

mhinz avatar mhinz commented on May 24, 2024

(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.

mhinz avatar mhinz commented on May 24, 2024

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.

amadeus avatar amadeus commented on May 24, 2024

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.

mhinz avatar mhinz commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.