D vs C++11

Jonathan M Davis jmdavisProg at gmx.com
Sat Nov 3 17:26:03 PDT 2012


On Saturday, November 03, 2012 09:08:16 H. S. Teoh wrote:
> Yeah I use vim too, and I don't see any problem. But then again, maybe
> he's looking for syntax highlighting or that kind of stuff which I don't
> use.

D does syntax highlighting just fine. It's distributed with vim, and if you 
want the latest version, you can grab it from here ( 
https://github.com/JesseKPhillips/d.vim ), though for some reason, more recent 
versions are missing from the page at vim.org ( 
http://www.vim.org/scripts/script.php?script_id=379 ). Jesse Phillips 
maintains vim's D syntax file, and he's still an active member of the 
community.

I don't know of anything that vim doesn't support with D that it supports with 
C or C++. It may be that there are further plugins that you can get which work 
with C/C++ but not D (e.g. I have no idea whether cscope would work or not; I 
expect that plugins like that would choke on templated stuff though). It 
doesn't have IDE-level features in general, but vim doesn't have those 
normally. It's a power user level text editor, not an IDE.

- Jonathan M Davis


More information about the Digitalmars-d mailing list