lib/soywiki.vim in soywiki-0.3.0 vs lib/soywiki.vim in soywiki-0.3.1
- old
+ new
@@ -237,11 +237,12 @@
endif
if s:valid_wiki_word(page_title)
write!
let original_file = bufname('')
echo system("git mv " . original_file . " " . newfile)
+ call system("git commit -am 'rename wiki page'")
exec "!" . s:rename_links_command . original_file . " " . newfile
- call system("git commit -am 'rename wiki page and links'")
+ call system("git commit -am 'rename wiki links'")
exec "e " . newfile
else
call s:display_invalid_wiki_word_error(page_title)
endif
endfunc