diff --git a/nvim/.config/nvim/compiler/zig.vim b/nvim/.config/nvim/compiler/zig.vim index de9ec62..0887295 100644 --- a/nvim/.config/nvim/compiler/zig.vim +++ b/nvim/.config/nvim/compiler/zig.vim @@ -7,12 +7,7 @@ let current_compiler = "zig" let s:save_cpo = &cpo set cpo&vim -" a subcommand must be provided for the this compiler (test, build-exe, etc) -if has('patch-7.4.191') - CompilerSet makeprg=zig\ \$*\ \%:S -else - CompilerSet makeprg=zig\ \$*\ \"%\" -endif +CompilerSet makeprg=zig\ build\ test\ &&\ zig\ build\ run " TODO: improve errorformat as needed.