blob: 773a6fb269924541719e2a2a42034da0e6c40bcb [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim compiler file
2" Compiler: ATT dot
3" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
Enno6f438192024-03-24 10:37:56 +01004" Last Change: 2024 March 21
Bram Moolenaar071d4272004-06-13 20:20:40 +00005
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "dot"
10
11if exists(":CompilerSet") != 2 " older Vim always used :setlocal
12 command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=dot\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
Enno6f438192024-03-24 10:37:56 +010016" matches error messages as below skipping final part after line number
17" Error: ./file.dot: syntax error in line 1 near 'rankdir'
18CompilerSet errorformat=%trror:\ %f:\ %m\ in\ line\ %l%.%#