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,16 +34,18 @@ function GetAllMakefiles(...)
let makefilePaths = []
" Get Makefiles from g:WA or ArgLead
let path = g:WA
if a:0 == 3
let ArgLead = a:1
let CmdLine = a:2
let CursorPos = a:3
if ArgLead != ''
let path = expand(ArgLead)
if exists('g:WA')
let path = g:WA
if a:0 == 3
let ArgLead = a:1
let CmdLine = a:2
let CursorPos = a:3
if ArgLead != ''
let path = expand(ArgLead)
endif
endif
let makefilePaths += s:GetAllMakefilesInPath(path)
endif
let makefilePaths += s:GetAllMakefilesInPath(path)
if makefilePaths == []
" Get Projects from project.txt
@ -356,11 +358,13 @@ function s:AddAllKnownProjectsToMenu()
endfor
" Projects in g:WA
exec 'anoremenu '. s:VimSuiteMenuName.
\'&Project.-sep3- :'
for makefilePath in s:GetAllMakefilesInPath(g:WA)
call s:AddMakefileToProjectMenu(makefilePath)
endfor
if exists('g:WA')
exec 'anoremenu '. s:VimSuiteMenuName.
\'&Project.-sep3- :'
for makefilePath in s:GetAllMakefilesInPath(g:WA)
call s:AddMakefileToProjectMenu(makefilePath)
endfor
endif
endfunction
"
function s:InitProjectMenu()