Open SamSaffron opened 6 years ago
The spinner is used to indicate that a target buffer is being loaded. So it is not shown for command which does not open a buffer.
I see, can I make this a feature request, it would be nice to be able to see a spinner while git push/pull is happening, I get the message when it is done, but it would be super nice to see it is in progress.
Hum... Ok, I think it's worth to consider. Could you explain your expected behavior a bit more so that I can imagine what you want more correctly?
hmmmm... I think you would specify a placeholder in your status line and then Gina would update the status line N times a second until the operation is finished. Changing the placeholder / refreshing and so on.
Gina can feature detect it so you don't even need to "enable"/"disable" the feature. If it sees that you have the placeholder in statusline is will perform the updates otherwise it just works as it is today.
Eg:
set statusline+=%{GinaProgress()}
Hi, @lambdalisue. I wanna help with this issue.
I see that you already have autoload/gina/core/spinner.vim
file. Is it possible to use it for this purpose?
Probably yes 👍
Hi there, I am probably doing something silly so apologies but on my default install of Gina on both vim and neovim I am not getting any spinner in my statusline for
:Gina push
/:Gina pull
I tried adding
let g:gina#core#spinner#delaytime=1
but even with that I am not getting anything.