1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:30:07 +08:00
SpaceVim/bundle/verilog/compiler/msim.vim

31 lines
618 B
VimL
Raw Normal View History

" Vim compiler file
" Compiler: Mentor Modelsim
if exists("current_compiler")
finish
endif
let current_compiler = "msim"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
" Error level formats
CompilerSet errorformat=\*\*\ Error:\ %f(%l):\ %m
" Warning level formats
if (!exists("g:verilog_efm_level") || g:verilog_efm_level != "error")
CompilerSet errorformat+=\*\*\ Warning:\ \[\%n\]\ %f(%l):\ %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: