Skip to content
Browse files

Fix issue #15

  • Loading branch information...
1 parent 7e283b6 commit 802d31a1835f4b131191efb445a278e8c5a91a5a @chrisbra committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/SudoEdit.vim
View
2 autoload/SudoEdit.vim
@@ -209,7 +209,7 @@ endfu
fu! SudoEdit#SudoDo(readflag, force, file) range "{{{2
call <sid>LocalSettings(1, 1)
let s:use_sudo_protocol_handler = 0
- let file = a:file
+ let file = expand(a:file)
if file =~ '^sudo:'
let s:use_sudo_protocol_handler = 1
let file = substitute(file, '^sudo:', '', '')

0 comments on commit 802d31a

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