diff options
Diffstat (limited to 'misc/vim/ftplugin')
-rw-r--r-- | misc/vim/ftplugin/go/fmt.vim | 2 |
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() |