From 5b3bc2653be8f1f23b101e3269d12facc427cae4 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 12 Mar 2013 11:03:11 -0700 Subject: [PATCH] Extra linebreaks in vimrc --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index 31824fe..1581dbf 100644 --- a/vimrc +++ b/vimrc @@ -183,6 +183,7 @@ function! strip_trailing_whitespace() call cursor(l, c) endfunction + function! FindProjectFileOrDirectory(fod) let l:dir = getcwd() " Search up the path, starting at the current working directory, for the @@ -197,14 +198,17 @@ function! FindProjectFileOrDirectory(fod) return "" endfunction + function! GetProjectRuntimeDirectory() return FindProjectFileOrDirectory("vim") endfunction + function! GetProjectFile() return FindProjectFileOrDirectory("project.vim") endfunction + function! SourceProjectFile() let l:project_file = GetProjectFile() if l:project_file != "" @@ -212,6 +216,7 @@ function! SourceProjectFile() endif endfunction + function! AddProjectRuntimeDirectory() let l:project_rtp = GetProjectRuntimeDirectory() if isdirectory(l:project_rtp)