summaryrefslogtreecommitdiffstats
path: root/.vimrc
blob: 198a266d67fa4ff7d754eb04c9bd8e0e70c9eb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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