1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 07:40:05 +08:00
SpaceVim/bundle/verilog/compiler/cver.vim
2022-04-15 20:36:45 +08:00

32 lines
670 B
VimL

" Vim compiler file
" Compiler: GPL cver
if exists("current_compiler")
finish
endif
let current_compiler = "cver"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
" Error level formats
CompilerSet errorformat=\*\*%f(%l)\ ERROR\*\*\ \[%n\]\ %m
" Warning level formats
if (!exists("g:verilog_efm_level") || g:verilog_efm_level != "error")
CompilerSet errorformat+=\*\*%f(%l)\ WARN\*\*\ \[%n\]\ %m
CompilerSet errorformat+=\*\*\ WARN\*\*\ \[\%n\]\ %m
endif
" Load common errorformat configurations
runtime compiler/verilog_common.vim
let &cpo = s:cpo_save
unlet s:cpo_save
" vi: sw=2 sts=2: