Skip to content

Commit

Permalink
Fix issue 3 from github
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Nov 14, 2011
1 parent 086a927 commit adfb6dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/SudoEdit.vim
Expand Up @@ -60,6 +60,10 @@ fu! SudoEdit#LocalSettings(setflag) "{{{2
" Force reading in the buffer
" to avoid stuipd W13 warning
sil e! %
" Make sure, persistent undo information is written
if has("persistent_undo")
exe "wundo" undofile(@%)
endif
endif
endfu

Expand Down

0 comments on commit adfb6dd

Please sign in to comment.