Mercurial > vim
annotate runtime/compiler/zig.vim @ 35345:7d325ff9356c default tip
runtime(termdebug): Fix wrong email address
Commit: https://github.com/vim/vim/commit/ae4641d68e2c01ee4847395bdb78a8c9c52394c7
Author: Christian Brabandt <cb@256bit.org>
Date: Wed Jun 5 22:24:24 2024 +0200
runtime(termdebug): Fix wrong email address
related: https://github.com/vim/vim/issues/14903
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 05 Jun 2024 22:30:05 +0200 |
parents | e1df51f68736 |
children |
rev | line source |
---|---|
31383 | 1 " Vim compiler file |
2 " Compiler: Zig Compiler | |
3 " Upstream: https://github.com/ziglang/zig.vim | |
4 | |
5 if exists("current_compiler") | |
6 finish | |
7 endif | |
8 let current_compiler = "zig" | |
9 | |
10 let s:save_cpo = &cpo | |
11 set cpo&vim | |
12 | |
13 " a subcommand must be provided for the this compiler (test, build-exe, etc) | |
14 if has('patch-7.4.191') | |
15 CompilerSet makeprg=zig\ \$*\ \%:S | |
16 else | |
17 CompilerSet makeprg=zig\ \$*\ \"%\" | |
18 endif | |
19 | |
20 " TODO: improve errorformat as needed. | |
21 | |
22 let &cpo = s:save_cpo | |
23 unlet s:save_cpo | |
24 " vim: tabstop=8 shiftwidth=4 softtabstop=4 expandtab |