view runtime/compiler/zig_test.vim @ 32286:dd85b8e05559 v9.0.1474

patch 9.0.1474: CI runs with old version of Ubuntu and tools Commit: https://github.com/vim/vim/commit/9be736f2eb7b3474246d644d3defe6fd126b5b18 Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Fri Apr 21 19:51:22 2023 +0100 patch 9.0.1474: CI runs with old version of Ubuntu and tools Problem: CI runs with old version of Ubuntu and tools. Solution: Update CI to more recent versions. (closes https://github.com/vim/vim/issues/11092)
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Apr 2023 21:00:04 +0200
parents 15c80d8bc515
children 99bf06d67e43
line wrap: on
line source

" Vim compiler file
" Compiler: Zig Compiler (zig test)
" Upstream: https://github.com/ziglang/zig.vim

if exists('current_compiler')
  finish
endif
runtime compiler/zig.vim
let current_compiler = 'zig_test'

let s:save_cpo = &cpo
set cpo&vim


if exists(':CompilerSet') != 2
  command -nargs=* CompilerSet setlocal <args>
endif

if has('patch-7.4.191')
  CompilerSet makeprg=zig\ test\ \%:S\ \$* 
else
  CompilerSet makeprg=zig\ test\ \"%\"\ \$* 
endif

let &cpo = s:save_cpo
unlet s:save_cpo
" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab