]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(compiler): Remove wrong escape in zig compiler files
authorbennyyip <yebenmy@gmail.com>
Sun, 24 May 2026 17:41:58 +0000 (17:41 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 24 May 2026 17:41:58 +0000 (17:41 +0000)
closes: #20312

Signed-off-by: bennyyip <yebenmy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/zig.vim
runtime/compiler/zig_build_exe.vim
runtime/compiler/zig_cc.vim
runtime/compiler/zig_test.vim

index 5f08423dafa85610ae29c764e24b19ce35623341..f6144c9f5216ebd71352120954d461f9ad837aed 100644 (file)
@@ -3,6 +3,7 @@
 " Upstream: https://github.com/ziglang/zig.vim
 " Last Change:
 " 2026 May 12 by the Vim project (set errormformat)
+" 2026 May 24 by the Vim project (do not escape vars for makeprg)
 
 if exists("current_compiler")
     finish
@@ -13,7 +14,7 @@ let s:save_cpo = &cpo
 set cpo&vim
 
 " a subcommand must be provided for the this compiler (test, build-exe, etc)
-CompilerSet makeprg=zig\ \$*\ \%:S
+CompilerSet makeprg=zig\ $*\ %:S
 
 CompilerSet errorformat=
             \%-G,
index ab63bfffe815c25041231e7dd28073bdbb364961..2f1681b501d0cbb007c42bcbdc74d1970318d6a7 100644 (file)
@@ -3,6 +3,7 @@
 " Upstream: https://github.com/ziglang/zig.vim
 " Last Change: 2025 Nov 16 by the Vim Project (set errorformat)
 " 2026 May 12 by the Vim project (remove errorformat)
+" 2026 May 24 by the Vim project (do not escape vars for makeprg)
 
 if exists('current_compiler')
   finish
@@ -13,7 +14,7 @@ let current_compiler = 'zig_build_exe'
 let s:save_cpo = &cpo
 set cpo&vim
 
-CompilerSet makeprg=zig\ build-exe\ \%:S\ \$*
+CompilerSet makeprg=zig\ build-exe\ %:S\ $*
 
 let &cpo = s:save_cpo
 unlet s:save_cpo
index 331d44751a4cc1fd4c0af172cd266252bb07bacd..d86bb48efc914ec668174df865c5ad023e339a15 100644 (file)
@@ -1,6 +1,7 @@
 " Vim compiler file
 " Compiler: Zig Compiler (zig cc)
 " Last Change: 2026 May 12
+" 2026 May 24 by the Vim project (do not escape vars for makeprg)
 
 if exists('current_compiler')
   finish
@@ -11,7 +12,7 @@ let current_compiler = 'zig_cc'
 let s:save_cpo = &cpo
 set cpo&vim
 
-CompilerSet makeprg=zig\ cc\ \%:S\ \$*
+CompilerSet makeprg=zig\ cc\ %:S\ $*
 
 let &cpo = s:save_cpo
 unlet s:save_cpo
index 6dee38b2f179e2409026b5d0df7117b79c79b6a3..07cb88eb4aa5761b4427aa079047a3f390f37305 100644 (file)
@@ -3,6 +3,7 @@
 " Upstream: https://github.com/ziglang/zig.vim
 " Last Change: 2025 Nov 16 by the Vim Project (set errorformat)
 " 2026 May 12 by the Vim Project (remove error format)
+" 2026 May 24 by the Vim project (do not escape vars for makeprg)
 
 if exists('current_compiler')
   finish
@@ -13,7 +14,7 @@ let current_compiler = 'zig_test'
 let s:save_cpo = &cpo
 set cpo&vim
 
-CompilerSet makeprg=zig\ test\ \%:S\ \$*
+CompilerSet makeprg=zig\ test\ %:S\ $*
 
 let &cpo = s:save_cpo
 unlet s:save_cpo