vim

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

zig_test.vim (564B)


      1 " Vim compiler file
      2 " Compiler: Zig Compiler (zig test)
      3 " Upstream: https://codeberg.org/ziglang/zig.vim
      4 " Last Change: 2025 Nov 16 by the Vim Project (set errorformat)
      5 " 2026 May 12 by the Vim Project (remove error format)
      6 " 2026 May 24 by the Vim project (do not escape vars for makeprg)
      7 
      8 if exists('current_compiler')
      9   finish
     10 endif
     11 runtime compiler/zig.vim
     12 let current_compiler = 'zig_test'
     13 
     14 let s:save_cpo = &cpo
     15 set cpo&vim
     16 
     17 CompilerSet makeprg=zig\ test\ %:S\ $*
     18 
     19 let &cpo = s:save_cpo
     20 unlet s:save_cpo
     21 " vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab