Fileformats für Linux angepasst

git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@136 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69
This commit is contained in:
stefan 2007-04-16 20:08:59 +00:00
parent 7c85ee1088
commit f56c798ef5
5 changed files with 1172 additions and 1168 deletions

View File

@ -34,6 +34,7 @@ function GetAllMakefiles(...)
let makefilePaths = [] let makefilePaths = []
" Get Makefiles from g:WA or ArgLead " Get Makefiles from g:WA or ArgLead
if exists('g:WA')
let path = g:WA let path = g:WA
if a:0 == 3 if a:0 == 3
let ArgLead = a:1 let ArgLead = a:1
@ -44,6 +45,7 @@ function GetAllMakefiles(...)
endif endif
endif endif
let makefilePaths += s:GetAllMakefilesInPath(path) let makefilePaths += s:GetAllMakefilesInPath(path)
endif
if makefilePaths == [] if makefilePaths == []
" Get Projects from project.txt " Get Projects from project.txt
@ -356,11 +358,13 @@ function s:AddAllKnownProjectsToMenu()
endfor endfor
" Projects in g:WA " Projects in g:WA
if exists('g:WA')
exec 'anoremenu '. s:VimSuiteMenuName. exec 'anoremenu '. s:VimSuiteMenuName.
\'&Project.-sep3- :' \'&Project.-sep3- :'
for makefilePath in s:GetAllMakefilesInPath(g:WA) for makefilePath in s:GetAllMakefilesInPath(g:WA)
call s:AddMakefileToProjectMenu(makefilePath) call s:AddMakefileToProjectMenu(makefilePath)
endfor endfor
endif
endfunction endfunction
" "
function s:InitProjectMenu() function s:InitProjectMenu()