mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
runtime(compiler): update errorformat for dot and neato compiler (#14257)
* add errorformat for dot compiler * add errorformat for neato compiler Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: ATT dot
|
" Compiler: ATT dot
|
||||||
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
||||||
" Last Change: 2004 May 16
|
" Last Change: 2024 March 21
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -13,3 +13,6 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
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%.%#
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
" Vim compiler file
|
" Vim compiler file
|
||||||
" Compiler: ATT neato
|
" Compiler: ATT neato
|
||||||
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
||||||
" Last Change: 2004 May 16
|
" Last Change: 2024 March 21
|
||||||
|
|
||||||
if exists("current_compiler")
|
if exists("current_compiler")
|
||||||
finish
|
finish
|
||||||
@@ -13,3 +13,6 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|
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%.%#
|
||||||
|
Reference in New Issue
Block a user