1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:50:03 +08:00
SpaceVim/bundle/vim-teal/compiler/tl.vim
2022-04-23 17:28:53 +08:00

21 lines
402 B
VimL

if exists("current_compiler")
finish
endif
let current_compiler = "tl"
let s:cpo_save = &cpo
set cpo&vim
if exists("g:teal_check_only")
CompilerSet makeprg=tl\ -q\ check\ %
elseif exists("g:teal_check_before_gen")
CompilerSet makeprg=tl\ -q\ check\ %\ &&\ tl\ -q\ gen\ %
else
CompilerSet makeprg=tl\ -q\ gen\ %
endif
CompilerSet errorformat=%f:%l:%c:\ %m
let &cpo = s:cpo_save
unlet s:cpo_save