Search code examples
vimscons

How to set ":make" to use scons?


I know there is a way to make vim run scons instead of make when I press :make.

I had an option that did this in my ~/.vimrc but I removed it a while ago and forgot what it was.


Solution

  • Set makeprg. I'm not sure if any options are required for scons, but it might look like:

    set makeprg=scons