Commit c6fd1e01 authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto Committed by David Symonds

misc/vim: limit Fmt command to Go buffers.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4548072
parent 5784dcfd
......@@ -13,7 +13,7 @@
" replacing the buffer with stderr output.
"
command! Fmt call s:GoFormat()
command! -buffer Fmt call s:GoFormat()
function! s:GoFormat()
let view = winsaveview()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment