summaryrefslogtreecommitdiff
path: root/misc/vim/ftplugin
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-06-03 11:31:24 +0200
committerOndřej Surý <ondrej@sury.org>2011-06-03 11:38:02 +0200
commit13f4fcd5bf09c70942b6c85a2b919ffa1ca0c6a8 (patch)
tree717e1ceeef3a60af29e7897c7629d1502b797838 /misc/vim/ftplugin
parent6bf52070ef1028f7fcc98fad1e73795a7efd7ce7 (diff)
downloadgolang-13f4fcd5bf09c70942b6c85a2b919ffa1ca0c6a8.tar.gz
Imported Upstream version 2011.06.02
Diffstat (limited to 'misc/vim/ftplugin')
-rw-r--r--misc/vim/ftplugin/go/fmt.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/vim/ftplugin/go/fmt.vim b/misc/vim/ftplugin/go/fmt.vim
index 18a2156f5..a299dfcee 100644
--- a/misc/vim/ftplugin/go/fmt.vim
+++ b/misc/vim/ftplugin/go/fmt.vim
@@ -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()