summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-05-08 18:25:46 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-05-08 18:25:46 (GMT)
commit65768bf73b5e5364613e894bc779dfb8bde39ff8 (patch)
tree25f6880a9fdc2c246837326c71a7e4d53dc06f1f /.vimrc
parentad14f307e7b9647ac2ff96cd1947e709dd45f73d (diff)
downloadswift-contrib-65768bf73b5e5364613e894bc779dfb8bde39ff8.zip
swift-contrib-65768bf73b5e5364613e894bc779dfb8bde39ff8.tar.bz2
Added .vimrc file.
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..198a266
--- /dev/null
+++ b/.vimrc
@@ -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
+