robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
a412a4a846
master
1" Vim compiler file 2" Compiler: Zig Compiler (zig build) 3" Upstream: https://codeberg.org/ziglang/zig.vim 4" Last Change: 2024 Apr 05 by the Vim Project (removed :CompilerSet definition) 5" 2026 May 12 by the Vim Project (removed comment) 6 7if exists ( 'current_compiler' ) 8finish 9endif 10runtime compiler/zig.vim 11let current_compiler = 'zig_build' 12 13let s: save_cpo = & cpo 14set cpo & vim 15 16if exists ( 'g:zig_build_makeprg_params' ) 17execute 'CompilerSet makeprg=zig\ build\ ' . escape ( g: zig_build_makeprg_params , ' \|"' ) . '\ $*' 18else 19CompilerSet makeprg=zig\ build\ $* 20endif 21 22let & cpo = s: save_cpo 23unlet s: save_cpo 24" vim: tabstop=8 shiftwidth=2 softtabstop=2 expandtab