www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - VIM: What wizardry is this?

reply "Jace Bennett" <jace.bennett gmail.com> writes:
I'm new and trying to feel my way around here. I have MacVim + 
Janus on OSX 10.8. I pulled d.vim into the janus folder, and 
started messing around. On write, I get really cool and helpful 
errors along the lines of

"writeln is not defined, did you mean to import std.stdio?"

Why, yes, Vim, I did. Thanks.

What I don't understand is how it knows. Is there some linting 
script? Is it compiling in the background? I don't see either of 
those happening in d.vim.

Am I getting coolness from janus or from the dmd installer? In 
short, it's awesome, but wtf?
Dec 14 2012
parent reply "Jesse Phillips" <Jessekphillips+D gmail.com> writes:
On Friday, 14 December 2012 at 20:37:12 UTC, Jace Bennett wrote:

 Am I getting coolness from janus or from the dmd installer? In 
 short, it's awesome, but wtf?
That is the compiler, been there for about 10 releases. Don't know who Janus is.
Dec 14 2012
parent "Jace Bennett" <jace.bennett gmail.com> writes:
On Friday, 14 December 2012 at 20:54:32 UTC, Jesse Phillips wrote:
 On Friday, 14 December 2012 at 20:37:12 UTC, Jace Bennett wrote:

 Am I getting coolness from janus or from the dmd installer? In 
 short, it's awesome, but wtf?
That is the compiler, been there for about 10 releases. Don't know who Janus is.
A ha. Janus is a collection of vim plugins... one of which is syntastic, and that's doing a background compile. Thanks
Dec 14 2012