open challenge: vim for DTrace

Inspired by the Ansari X-Prize, I thought I'd start issuing open challenges to the community of DTrace and Solaris users. This isn't because I hate you, or even because I like you necessarily: it's because I'm lazy. Or if not lazy, at least busy. So my first open challenge is this:

vim for .d files

The following are required of a winning entry

  • syntax hi-lighting of keywords, built-in functions, aggregations, etc.
  • smart commenting (when I hit return I want ' \* ')
  • other fancy stuff
  • easy for me to install (again, I'm lazy, impatient, busy, etc.)

There's no prize, but I'll certainly voice my appreciation as loudly as appropriate. Submissions for emacs will be accepted, but I will extoll its virtues with less passion. If this works out, I'll come up with tougher challenges and maybe real prizes. In some not-too-distant future, I hope to get OpenSolaris running on my TiVo -- I promise a prize for that :-)

Comments:

Here's a start I made about a year ago:
http://www.comfychair.org/~duvall/d.vim
Just put it in <code>~/.vim/syntax</code>, and add
augroup filetypedetect
    autocmd BufNewFile,BufRead \*.d setf d
augroup END
to <code>~/.vim/filetype.vim</code>. It's not self-installing code, but that's probably more than you really need. No commenting, but that doesn't belong in the syntax file anyway. :)

Posted by Danek Duvall on November 02, 2004 at 06:13 AM PST #

hmm... when I said "easy" I wasn't kidding. I couldn't get your stuff to work. I'm happy to try to get it working, but that may disqualify you from your non-existant prize...

Posted by Adam Leventhal on November 14, 2004 at 09:44 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Adam Leventhal, Fishworks engineer

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today