New vim d.vim syntax highlighting script

lanael lanael_member at pathlink.com
Thu Mar 16 12:38:07 PST 2006


Thanks for the new vim syntax file.

Here is a hacked compiler file for dmd with a usable errorformat string.
Save it as dmd.vim in vim/compiler/

------------------------------->8----------------------------------
" Vim compiler file
" Compiler:	dmd - Digital Mars D language 
" Maintainer:	marc Michel
" Last Change:	2005/08/10

if exists("current_compiler")
finish
endif
let current_compiler = "dmd"

" A workable errorformat for the Digital Mars D compiler

setlocal errorformat=%f\(%l\)\:%m,%-Gdmd\ %m,%-G%.%#errorlevel\ %m,\%-G\\s%#

" default make
setlocal makeprg=make

------------------------------->8----------------------------------





More information about the Digitalmars-d-announce mailing list