mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
20 lines
465 B
VimL
20 lines
465 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'dot', 'compiler/dot.vim')
|
|
finish
|
|
endif
|
|
|
|
" Vim compiler file
|
|
" Compiler: ATT dot
|
|
" Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
|
" Last Change: 2004 May 16
|
|
|
|
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.$*\"
|