view runtime/compiler/go.vim @ 23891:650070143c56 v8.2.2488

patch 8.2.2488: json_encode() gives generic argument error Commit: https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 8 21:53:09 2021 +0100 patch 8.2.2488: json_encode() gives generic argument error Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue https://github.com/vim/vim/issues/7802)
author Bram Moolenaar <Bram@vim.org>
date Mon, 08 Feb 2021 22:00:03 +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