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

33 lines
868 B
VimL
Vendored

" Vim compiler file
" Compiler: Synopsys Spyglass
if exists("current_compiler")
finish
endif
let current_compiler = "spyglass"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
" Error level formats
CompilerSet errorformat =%.%#\ %\\+%tATAL\ %\\+%[a-zA-Z0-9]%\\+\ %\\+%f\ %\\+%l\ %\\+%n\ %\\+%m
CompilerSet errorformat+=%.%#\ %\\+%tRROR\ %\\+%[a-zA-Z0-9]%\\+\ %\\+%f\ %\\+%l\ %\\+%n\ %\\+%m
CompilerSet errorformat+=%.%#\ %\\+Syntax\ %\\+%f\ %\\+%l\ %\\+%m
" Warning level formats
if (!exists("g:verilog_efm_level") || g:verilog_efm_level != "error")
CompilerSet errorformat+=%.%#\ %\\+%tARNING\ %\\+%[a-zA-Z0-9]%\\+\ %\\+%f\ %\\+%l\ %\\+%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: