sponsor Vim development Vim logo Vim Book Ad

dtrace syntax file : This provides excessive highlighting of dtrace script files

 script karma  Rating 17/8, Downloaded by 1030    Comments, bugs, improvements  Vim wiki

created by
Nicolas Weber
script type
This file provides excessive syntax highlighting for files written in the D language that's used with dtrace. A description of the D file format can be found at http://docs.sun.com/app/docs/doc/817-6223.

Version 1.5 of this script is included in the official vim7.2 distribution.
install details
Copy dtrace.vim to ~/.vim/syntax/ (on Unix or Mac OS X) or to .../vimfiles/syntax on windows.

Vim usually associates .d files with the D programming language by Digital Mars. To override this, add something like

      autocmd BufNewFile,BufRead *.d setf dtrace

to your ~/.vimrc or to ~/.vim/ftdetect/dtrace.vim (you probably have to create the latter).


rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
dtrace.vim 1.4 2008-03-30 6.0 Nicolas Weber Minor improvements, require at least vim 5.8 (the script upload form only has 5.7 and 6.0 as options, so this does officially require vim 6.0 now).
dtrace.vim 1.3 2008-03-21 5.7 Nicolas Weber Added highlighting for BEGIN, END, ERROR probe descriptions; improved probe and predicate highlighting; added `rawbytes` to recognized #pragma options.

dtrace.vim 1.2 2008-03-20 5.7 Nicolas Weber Highlight `#!/usr/sbin/dtrace -s` if present; improved probe description and predicate highlighting.
dtrace.vim 1.1 2008-03-19 5.7 Nicolas Weber Added highlighting for valid #pragma D options
dtrace.vim 1.0 2008-03-16 5.7 Nicolas Weber Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo