vim

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

zig_cc.vim (417B)


      1 " Vim compiler file
      2 " Compiler: Zig Compiler (zig cc)
      3 " Last Change: 2026 May 12
      4 " 2026 May 24 by the Vim project (do not escape vars for makeprg)
      5 
      6 if exists('current_compiler')
      7   finish
      8 endif
      9 runtime compiler/zig.vim
     10 let current_compiler = 'zig_cc'
     11 
     12 let s:save_cpo = &cpo
     13 set cpo&vim
     14 
     15 CompilerSet makeprg=zig\ cc\ %:S\ $*
     16 
     17 let &cpo = s:save_cpo
     18 unlet s:save_cpo
     19 " vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab