diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-05-08 18:25:46 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-05-08 18:25:46 (GMT) |
commit | 65768bf73b5e5364613e894bc779dfb8bde39ff8 (patch) | |
tree | 25f6880a9fdc2c246837326c71a7e4d53dc06f1f | |
parent | ad14f307e7b9647ac2ff96cd1947e709dd45f73d (diff) | |
download | swift-65768bf73b5e5364613e894bc779dfb8bde39ff8.zip swift-65768bf73b5e5364613e894bc779dfb8bde39ff8.tar.bz2 |
Added .vimrc file.
-rw-r--r-- | .vimrc | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +" Some useful VIM stuff for developing Swift +" +" Add the following in your ~/.vimrc to automatically load this when +" you open vim in the toplevel directory: +" +" if filereadable(".vimrc") +" source .vimrc +" endif +" + +" CPPUnit QuicFix support +set errorformat+=%E%.%#\ test:\ %.%#line:\ %l\ %f,%Z%m + +" SCons support +if filereadable("SConstruct") + if filereadable("3rdParty/SCons/scons.py") + set makeprg=python\ 3rdParty/SCons/scons.py + else + set makeprg=scons + endif +endif + |