Closed stardiviner closed 12 years ago
Did I mixed Gist with webapi-vim ? I checked out new webapi-vim, have not found something about Gist.
Yes, wie have a feature. Grep for "deprecated" in VAM-kr.
Both by "Yasuhiro Matsumoto", both updated on 15.4.2012. http://www.vim.org/scripts/script.php?script_id=4019 "WebAPI.vim : vimscript for gist" http://www.vim.org/scripts/script.php?script_id=2423 "Gist.vim : vimscript for gist"
Why do you think one replaces the other?
Name of WebAPI.vim in VAM is no more webapi-vim, it is WebAPI. Once plugin was posted I changed code from explicit
let scm['webapi-vim'] = {git_repo}
to
let scmnr.4019 = {git_repo}
. Generated name for 4019 is WebAPI
(from www.vim.org title, trailing .vim
is being removed). Trying to install/update webapi-vim
will now fail; nr_to_names_log did not contain 4019 script before as it was not posted (maybe I should also manually add a name there as it is a rear case when it is acceptable?), thus you won’t get a notice about rename, but all dependants have an updated name. Existing installations are not affected (until you try to update).
thanks
I found one vimscript Gist.vim change name into WebAPI.vim now. (the name in VAM is webapi-vim). But the old Gist script is still available in VAM, I hope VAM can have one function let script maintainer can fill in a line of words to tell user which is the new version (changed name). I think this line should be in script's JSON file. when user try to update Gist, they will get this NOTICE, keep old Gist.vim is for someone who do not want to upgrade, really hard to declare my idea.
In one words: keep old Gist.vim but add a statement in JSON file to have link for Gist.vim to webapi-vim.