Addition to vim syntax highlighting for D

Tim Keating holyspamster at gmail.com
Wed Dec 27 22:20:45 PST 2006


Found a bug with VIM syntax highlighting today. If you use VIM, you 
might want update your d.vim file as follows:

After the line:

	syn region dRawString	start=+`+ skip=+\\`+ end=+`[cwd]\=+ 
contains=@Spell

Add this line:

	syn match dRawString	+`\\`+

Without this, the literal raw string `\` will break the first raw 
literal matcher, and highlight to the next backtick char as a giant 
multiline string literal. Admittedly minor, but annoying.

On a related note, anyone know how to submit patches to the vim project?

TK



More information about the Digitalmars-d mailing list