Hi, I just wanted to let you know, that Nicolas Weber (he''s on CC) created vim syntax files. http://www.vim.org/scripts/script.php?script_id=2190 Currently there is some installation procedure, basically ==================== Make vim detect dtrace source ====================mkdir -p ~/.vim/ftdetect ~/.vim/syntax echo ''au BufRead,BufNewFile *.d set filetype=dtrace'' > ~/.vim/ftdetect/dtrace.vim ======================================================================= And download the syntax file (this downloads currently latest 1.1) wget -O ~/.vim/syntax/dtrace.vim http://www.vim.org/scripts/download_script.php?src_id=8468 There are several things yet to do: * Make vim detect dtrace automatically (will probably require change to $VIMRUNTIME/scripts.vim) * Make the syntax file recognise the "#!/blah/blah/dtrace -s" * Make the syntax file recognise more pragmas http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_options.c#_dtrace_ctoptions Thank you Nicolas and sorry for such exposure :) -- Vlad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 193 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20080320/93d5c744/attachment.bin>