Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
zig.vim25 linesDownload Raw Back to compiler
1" Vim compiler file2" Compiler: Zig Compiler3" Upstream: https://github.com/ziglang/zig.vim4 5if exists("current_compiler")6    finish7endif8let current_compiler = "zig"9 10let s:save_cpo = &cpo11set cpo&vim12 13" a subcommand must be provided for the this compiler (test, build-exe, etc)14if has('patch-7.4.191')15    CompilerSet makeprg=zig\ \$*\ \%:S16else17    CompilerSet makeprg=zig\ \$*\ \"%\"18endif19 20" TODO: improve errorformat as needed.21 22let &cpo = s:save_cpo23unlet s:save_cpo24" vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab25 
codekingpro/portable-devtools · Team Ai