neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

zig_build_exe.vim (557B)


      1 " Vim compiler file
      2 " Compiler: Zig Compiler (zig build-exe)
      3 " Upstream: https://github.com/ziglang/zig.vim
      4 " Last Change: 2025 Nov 16 by The Vim Project (set errorformat)
      5 
      6 if exists('current_compiler')
      7  finish
      8 endif
      9 runtime compiler/zig.vim
     10 let current_compiler = 'zig_build_exe'
     11 
     12 let s:save_cpo = &cpo
     13 set cpo&vim
     14 
     15 CompilerSet makeprg=zig\ build-exe\ \%:S\ \$*
     16 " CompilerSet errorformat=%f:%l:%c: %t%*[^:]: %m, %f:%l:%c: %m, %f:%l: %m
     17 CompilerSet errorformat&
     18 
     19 let &cpo = s:save_cpo
     20 unlet s:save_cpo
     21 " vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab