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 = []
|
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user