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
vimfiles.stefan/plugin

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