Closed tyru closed 8 years ago
As the message said, you need to use :w!
for instance.
Gist API returns GUID to determine if the gist is updated or not for all API.
vim-gista use that GUID to check if a remote gist is updated or not to reduce API use (to prevent API limit).
However a GUID returned from any POST action (e.g. :Gista post
or :Gista fork
) will be differ from next GET request and that's why vim-gista assume that the remote content is modified (I think this is a kind bug of Gist API).
If I perform GET request after POST, it can be fixed but while requesting gist is time-consuming, I decided to leave this while user easily update the remote content with :w!
.
OK, now I understand this is an expected behavior. Please feel free to ignore, too :) #72
Thanks for understanding ;-)
After I applied #71
I couldn't update a forked gist.
:Gista fork ...
:Gista list
and open the forked gist:w
causes: