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