summaryrefslogtreecommitdiffstats
path: root/runtime/compiler/dot.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--runtime/compiler/dot.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/compiler/dot.vim b/runtime/compiler/dot.vim
index 0327739..145411e 100644
--- a/runtime/compiler/dot.vim
+++ b/runtime/compiler/dot.vim
@@ -1,15 +1,15 @@
" Vim compiler file
" Compiler: ATT dot
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
-" Last Change: 2004 May 16
+" Last Change: 2024 March 21
+" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
if exists("current_compiler")
finish
endif
let current_compiler = "dot"
-if exists(":CompilerSet") != 2 " older Vim always used :setlocal
- command -nargs=* CompilerSet setlocal <args>
-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%.%#