summaryrefslogtreecommitdiffstats
path: root/compiler/go.vim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/go.vim')
-rw-r--r--compiler/go.vim33
1 files changed, 0 insertions, 33 deletions
diff --git a/compiler/go.vim b/compiler/go.vim
index 4c91b9fc..5c30dd2f 100644
--- a/compiler/go.vim
+++ b/compiler/go.vim
@@ -1,36 +1,3 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
-
-" Vim compiler file
-" Compiler: Go
-" Maintainer: David Barnett (https://github.com/google/vim-ft-go)
-" Last Change: 2014 Aug 16
-
-if exists('current_compiler')
- finish
-endif
-let current_compiler = 'go'
-
-if exists(':CompilerSet') != 2
- command -nargs=* CompilerSet setlocal <args>
-endif
-
-let s:save_cpo = &cpo
-set cpo-=C
-
-CompilerSet makeprg=go\ build
-CompilerSet errorformat=
- \%-G#\ %.%#,
- \%A%f:%l:%c:\ %m,
- \%A%f:%l:\ %m,
- \%C%*\\s%m,
- \%-G%.%#
-
-let &cpo = s:save_cpo
-unlet s:save_cpo
-
-" vim: sw=2 sts=2 et
-
-endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
" Copyright 2013 The Go Authors. All rights reserved.