zig.vim icon indicating copy to clipboard operation
zig.vim copied to clipboard

Remove wrongful escape characters from zig.vim compiler

Open garrafote opened this issue 3 years ago • 1 comments

$ and % shouldn't be escaped on the makeprg string and will result in error when trying to run this comp.

garrafote avatar Nov 15 '23 08:11 garrafote

👍🏽

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.)

idbrii avatar Dec 21 '23 21:12 idbrii