vim-go -> vim-golang

This commit is contained in:
Adam Stankiewicz
2013-09-12 17:22:37 +02:00
parent 35433aa23c
commit 4c2025af5c
6 changed files with 30 additions and 115 deletions

View File

@@ -12,25 +12,11 @@
" It tries to preserve cursor position and avoids
" replacing the buffer with stderr output.
"
" Options:
"
" g:go_fmt_commands [default=1]
"
" Flag to indicate whether to enable the commands listed above.
"
if exists("b:did_ftplugin_go_fmt")
finish
endif
if !exists("g:go_fmt_commands")
let g:go_fmt_commands = 1
endif
if g:go_fmt_commands
command! -buffer Fmt call s:GoFormat()
endif
command! -buffer Fmt call s:GoFormat()
function! s:GoFormat()
let view = winsaveview()