Skip to content
Browse files

prevent buffer changed warning on SWRenameTo.

  • Loading branch information...
1 parent e5bcc57 commit 78ab992df315cc65242bec0ab1bf3aa5d72c0b53 @0robustus1 0robustus1 committed Jan 24, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/soywiki.vim
View
1 lib/soywiki.vim
@@ -297,6 +297,7 @@ func! s:rename_page(page_path_or_title)
echo system("mv " . original_file . " " . newfile)
endif
call system("git commit -am 'rename wiki page'")
+ let &buftype = "nofile"
exec "!" . s:rename_links_command . s:wiki_root() . " " . original_file . " " . newfile
call system("git commit -am 'rename wiki links'")
exec "e " . newfile

0 comments on commit 78ab992

Please sign in to comment.
Something went wrong with that request. Please try again.