Extra linebreaks in vimrc

This commit is contained in:
Eryn Wells 2013-03-12 11:03:11 -07:00
parent 4129bc6022
commit 5b3bc2653b

5
vimrc
View file

@ -183,6 +183,7 @@ function! <SID>strip_trailing_whitespace()
call cursor(l, c)
endfunction
function! <SID>FindProjectFileOrDirectory(fod)
let l:dir = getcwd()
" Search up the path, starting at the current working directory, for the
@ -197,14 +198,17 @@ function! <SID>FindProjectFileOrDirectory(fod)
return ""
endfunction
function! GetProjectRuntimeDirectory()
return <SID>FindProjectFileOrDirectory("vim")
endfunction
function! GetProjectFile()
return <SID>FindProjectFileOrDirectory("project.vim")
endfunction
function! <SID>SourceProjectFile()
let l:project_file = GetProjectFile()
if l:project_file != ""
@ -212,6 +216,7 @@ function! <SID>SourceProjectFile()
endif
endfunction
function! <SID>AddProjectRuntimeDirectory()
let l:project_rtp = GetProjectRuntimeDirectory()
if isdirectory(l:project_rtp)