diff options
Diffstat (limited to 'compiler/modelsim_vcom.vim')
-rw-r--r-- | compiler/modelsim_vcom.vim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/compiler/modelsim_vcom.vim b/compiler/modelsim_vcom.vim new file mode 100644 index 00000000..7bce95e0 --- /dev/null +++ b/compiler/modelsim_vcom.vim @@ -0,0 +1,24 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 + +" Vim Compiler File +" Compiler: Modelsim Vcom +" Maintainer: Paul Baleme <pbaleme@mail.com> +" Last Change: September 8, 2003 +" Thanks to: allanherriman@hotmail.com + +if exists("current_compiler") + finish +endif +let current_compiler = "modelsim_vcom" + +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal <args> +endif + +"setlocal errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m + +"setlocal errorformat=%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %m +CompilerSet errorformat=\*\*\ %tRROR:\ %f(%l):\ %m,\*\*\ %tRROR:\ %m,\*\*\ %tARNING:\ %m,\*\*\ %tOTE:\ %m,%tRROR:\ %f(%l):\ %m,%tARNING\[%*[0-9]\]:\ %f(%l):\ %m,%tRROR:\ %m,%tARNING\[%*[0-9]\]:\ %m + + +endif |