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:
parent
7c85ee1088
commit
f56c798ef5
@ -34,6 +34,7 @@ function GetAllMakefiles(...)
|
||||
let makefilePaths = []
|
||||
|
||||
" Get Makefiles from g:WA or ArgLead
|
||||
if exists('g:WA')
|
||||
let path = g:WA
|
||||
if a:0 == 3
|
||||
let ArgLead = a:1
|
||||
@ -44,6 +45,7 @@ function GetAllMakefiles(...)
|
||||
endif
|
||||
endif
|
||||
let makefilePaths += s:GetAllMakefilesInPath(path)
|
||||
endif
|
||||
|
||||
if makefilePaths == []
|
||||
" Get Projects from project.txt
|
||||
@ -356,11 +358,13 @@ function s:AddAllKnownProjectsToMenu()
|
||||
endfor
|
||||
|
||||
" Projects in g:WA
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user