Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions autoload/rustfmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function! s:DeleteLines(start, end) abort
endfunction

function! s:RunRustfmt(command, tmpname, from_writepre)
let l:view = winsaveview()
mkview!

let l:stderr_tmpname = tempname()
call writefile([], l:stderr_tmpname)
Expand Down Expand Up @@ -213,7 +213,7 @@ function! s:RunRustfmt(command, tmpname, from_writepre)
lwindow
endif

call winrestview(l:view)
silent! loadview
endfunction

function! rustfmt#FormatRange(line1, line2)
Expand Down