]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(compiler): set errorformat where missing
authorKonfekt <Konfekt@users.noreply.github.com>
Thu, 20 Nov 2025 20:54:31 +0000 (20:54 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 20 Nov 2025 20:54:31 +0000 (20:54 +0000)
commit74b4f9242e55d24a7c602a416f1f4ffbfbdb875e
tree9f8381ec74acb1fd1755c3d1073eabb2ba80a699
parentd1288503aa0099ab36802312c6dcf3e87751797a
runtime(compiler): set errorformat where missing

As a matter of caution it sets it to the default gcc errorformat:

```
errorformat=%*[^"]"%f"%*\D%l: %m,"%f"%*\D%l: %m,%-Gg%\?make[%*\d]: *** [%f:%l:%m,%-Gg%\?make: *** [%f:%l:%m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%-GIn file included from %f:%l:%c:,%-GIn file included from %f:%l:%c\,,%-GIn file included from %f:%l:%c,%-GIn file included from %f:%l,%-G%*[ ]from %f:%l:%c,%-G%*[ ]from %f:%l:,%-G%*[ ]from %f:%l\,,%-G%*[ ]from %f:%l,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,"%f"\, line %l%*\D%c%*[^ ] %m,%D%*\a[%*\d]: Entering directory %*[`']%f',%X%*\a[%*\d]: Leaving directory %*[`']%f',%D%*\a: Entering directory %*[`']%f',%X%*\a: Leaving directory %*[`']%f',%DMaking %*\a in %f,%f|%l| %m
```

so that the compiler keeps working after switching to others.

While likely only a subset is needed; such a subset has been proposed in
a commented errorformat;

checked to work for yamllint but ran out of steam for other compilers;

closes: #18754

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/compiler/rime_deployer.vim
runtime/compiler/vimdoc.vim
runtime/compiler/yamllint.vim
runtime/compiler/zig_build_exe.vim
runtime/compiler/zig_test.vim