zig.vim
zig.vim copied to clipboard
Remove wrongful escape characters from zig.vim compiler
$ and % shouldn't be escaped on the makeprg string and will result in error when trying to run this comp.
👍🏽
Confirm this change fixes this error when using :compiler zig | make test:
error: unknown command: \test
@garrafote zig_build_exe.vim and zig_test.vim also have these escapes and need updating. For example, :compiler zig_build_exe | make produces:
error: unrecognized file extension of parameter '%:S'
zig_build.vim is the only one without incorrect escapes, so it's the only compiler file that works for me.
(I'm on Gvim 9.0.1576 on Win10.)