vim-patch:6f438199c92b

runtime(compiler): update errorformat for dot and neato compiler (vim/vim#14257)

* add errorformat for dot compiler
* add errorformat for neato compiler

6f438199c9

Co-authored-by: Enno <Konfekt@users.noreply.github.com>
This commit is contained in:
Christian Clason 2024-03-24 10:48:11 +01:00
parent ed910604ca
commit 011585f35f
2 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: ATT dot
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
" Last Change: 2004 May 16
" Last Change: 2024 March 21
if exists("current_compiler")
finish
@ -13,3 +13,6 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
endif
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
" matches error messages as below skipping final part after line number
" Error: ./file.dot: syntax error in line 1 near 'rankdir'
CompilerSet errorformat=%trror:\ %f:\ %m\ in\ line\ %l%.%#

View File

@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: ATT neato
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
" Last Change: 2004 May 16
" Last Change: 2024 March 21
if exists("current_compiler")
finish
@ -13,3 +13,6 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
endif
CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
" matches error messages as below skipping final part after line number
" Error: ./file.dot: syntax error in line 1 near 'rankdir'
CompilerSet errorformat=%trror:\ %f:\ %m\ in\ line\ %l%.%#