vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

go.vim (521B)


      1 " Vim compiler file
      2 " Compiler:	Go
      3 " Maintainer:	David Barnett (https://github.com/google/vim-ft-go)
      4 " Last Change:	2014 Aug 16
      5 "             	2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
      6 
      7 if exists('current_compiler')
      8   finish
      9 endif
     10 let current_compiler = 'go'
     11 
     12 let s:save_cpo = &cpo
     13 set cpo-=C
     14 
     15 CompilerSet makeprg=go\ build
     16 CompilerSet errorformat=
     17     \%-G#\ %.%#,
     18     \%A%f:%l:%c:\ %m,
     19     \%A%f:%l:\ %m,
     20     \%C%*\\s%m,
     21     \%-G%.%#
     22 
     23 let &cpo = s:save_cpo
     24 unlet s:save_cpo
     25 
     26 " vim: sw=2 sts=2 et