From 65768bf73b5e5364613e894bc779dfb8bde39ff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 8 May 2012 20:25:46 +0200 Subject: Added .vimrc file. 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 + -- cgit v0.10.2-6-g49f6