Argh, another bug fixed. When trying to write to a file different from the current0.0.8
commit47b6632f7c49de8bc2f00fe468084d1215252a63
authorEustaquio Rangel <taq@eustaquiorangel.com>
Thu, 26 Jun 2008 12:33:38 +0000 (26 09:33 -0300)
committerEustaquio Rangel <taq@eustaquiorangel.com>
Thu, 26 Jun 2008 12:33:38 +0000 (26 09:33 -0300)
tree6d40714353f9fdebecc300ed6949e4de41a16b7e
parent399507002f69972880bb3719132e25645482f641
Argh, another bug fixed. When trying to write to a file different from the current
one, it was not saved. That happened because I was trying to save the file without
it's name, presuming if we tell to save to another file with :w the name was correct.It was fixed using expand("<afile>"). Btw, there was another bug when trying to save to an existing file and need to use the bang (!) with write. It was fixed checking if a bang command was used and executing the bang version if needed.
git-branch-info.vim