view runtime/compiler/go.vim @ 7250:99476f1aaacd v7.4.933

commit https://github.com/vim/vim/commit/e4eda3bc7157932b0bf380fd3fdc1ba8f4438b60 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 21 16:28:50 2015 +0100 patch 7.4.933 Problem: Crash when using longest completion match. Solution: Fix array index.
author Christian Brabandt <cb@256bit.org>
date Sat, 21 Nov 2015 16:30:05 +0100
parents 1e8ebf870720
children e1df51f68736
line wrap: on
line source

" 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