standard vimfiles benutzbar
Überall Make statt make und bmsk git-svn-id: https://vimsuite.svn.sourceforge.net/svnroot/vimsuite/trunk@138 eb2d0018-73a3-4aeb-bfe9-1def61c9ec69
This commit is contained in:
parent
9cd5db6910
commit
ce727f6410
@ -34,6 +34,7 @@ setlocal errorformat+=%C\ \ \ \ %m
|
||||
" Tools
|
||||
" -----
|
||||
setlocal errorformat+=%+G%.%#.exe:\ %m
|
||||
setlocal errorformat+=%+G%.%#.exe[%*\\d]:\ ***\ %m
|
||||
|
||||
" Error format from other programs: ...: ...
|
||||
"setlocal errorformat+=%+G%f:\ %m
|
||||
|
@ -10,7 +10,7 @@ setlocal softtabstop=4
|
||||
setlocal formatoptions=croq
|
||||
|
||||
" vimfiles sollen immer im unix-Format gespeichert werden
|
||||
if filereadable('%')
|
||||
if filewritable(expand('%'))
|
||||
setlocal fileformat=unix
|
||||
endif
|
||||
|
||||
|
@ -119,8 +119,8 @@ function s:BmskRedrawMenu()
|
||||
\' :SetSWStand<CR>'
|
||||
" Compile
|
||||
exec 'anoremenu .30.10 '.s:BMSKmenuname.
|
||||
\'&Compile.&Build<tab>:Bmsk'.
|
||||
\' :Bmsk<CR>'
|
||||
\'&Compile.&Build<tab>:Make'.
|
||||
\' :Make<CR>'
|
||||
exec 'anoremenu ..20 '.s:BMSKmenuname.
|
||||
\'&Compile.&Alle\ Teststände<tab>:BmskAll\ Test'.
|
||||
\' :BmskAll Test<CR>'
|
||||
@ -128,17 +128,17 @@ function s:BmskRedrawMenu()
|
||||
\'&Compile.&Lint<tab>:Lint'.
|
||||
\' :Lint<CR>'
|
||||
exec 'anoremenu ..35 '.s:BMSKmenuname.
|
||||
\'&Compile.&Doku\ erstellen<tab>:Bmsk\ doku'.
|
||||
\' :Bmsk doku<CR>'
|
||||
\'&Compile.&Doku\ erstellen<tab>:Make\ doku'.
|
||||
\' :Make doku<CR>'
|
||||
exec 'anoremenu ..36 '.s:BMSKmenuname.
|
||||
\'&Compile.&Einzeldoku\ erstellen<tab>:BmskDoku\ doku\ funktionen="\.\.\."'.
|
||||
\' :BmskDoku<CR>'
|
||||
exec 'anoremenu ..40 '.s:BMSKmenuname.
|
||||
\'&Compile.&Clean<tab>:Bmsk\ clean'.
|
||||
\' :Bmsk clean<CR>'
|
||||
\'&Compile.&Clean<tab>:Make\ clean'.
|
||||
\' :Make clean<CR>'
|
||||
exec 'anoremenu ..45 '.s:BMSKmenuname.
|
||||
\'&Compile.&Clean\ all<tab>:Bmsk\ distclean'.
|
||||
\' :Bmsk distclean<CR>'
|
||||
\'&Compile.&Clean\ all<tab>:Make\ distclean'.
|
||||
\' :Make distclean<CR>'
|
||||
exec 'anoremenu ..50 '. s:BMSKmenuname.
|
||||
\'&Compile.-sep- :'
|
||||
exec 'anoremenu ..60 '.s:BMSKmenuname.
|
||||
@ -196,11 +196,11 @@ function s:BmskRedrawMenu()
|
||||
\'&Search.List\ &CTags<tab>:tselect'.
|
||||
\' :tselect /<C-R><C-W><CR>'
|
||||
exec 'anoremenu ..50 '.s:BMSKmenuname.
|
||||
\'&Search.Update\ c&tags<tab>:Bmsk\ ctags'.
|
||||
\' :Bmsk ctags<CR>'
|
||||
\'&Search.Update\ c&tags<tab>:Make\ ctags'.
|
||||
\' :Make ctags<CR>'
|
||||
exec 'anoremenu ..60 '.s:BMSKmenuname.
|
||||
\'&Search.Update\ C&scope<tab>:Bmsk\ cscope'.
|
||||
\' :Bmsk cscope<CR>'
|
||||
\'&Search.Update\ C&scope<tab>:Make\ cscope'.
|
||||
\' :Make cscope<CR>'
|
||||
exec 'anoremenu ..70 '.s:BMSKmenuname.
|
||||
\'&Search.Disconnect\ C&scope<tab>:cscope\ kill\ -1'.
|
||||
\' :cscope kill -1<CR>'
|
||||
@ -719,7 +719,7 @@ function s:BmskAll(Stand)
|
||||
if (a:Stand != '') && (g:SW_Stand != a:Stand)
|
||||
call SetSWStand(a:Stand)
|
||||
endif
|
||||
execute 'Bmsk all' . g:SW_Stand
|
||||
execute 'Make all' . g:SW_Stand
|
||||
endfunction
|
||||
|
||||
" Alle Software-Stände als VimList
|
||||
@ -869,7 +869,7 @@ command TaskReport call s:TaskReport()
|
||||
function s:TaskReport()
|
||||
let b:browsefilter = 'Textfiles \t*.txt\n'
|
||||
let file = browse(1, 'Select File for Task Report', 'c:', g:bmskProject . '.txt')
|
||||
execute 'Bmsk ccm_task_report file=' . fnamemodify(file, ':p')
|
||||
execute 'Make ccm_task_report file=' . fnamemodify(file, ':p')
|
||||
endfunction
|
||||
|
||||
" ------------------------------------------
|
||||
|
@ -19,6 +19,7 @@ function s:ReportRev(Rev)
|
||||
echo 'Tags für BMS-X'
|
||||
echo 'Doxygen Toolkit'
|
||||
echo 'Update VimScripts'
|
||||
echo 'das Verzeichnis vimfiles kann ohne Anpassung verwendet werden'
|
||||
elseif a:Rev >= '128'
|
||||
echo 'Neu seit Rev: 128'
|
||||
echo 'Vimsuite für BMS-X verbessert'
|
||||
|
@ -469,17 +469,17 @@ function s:RedrawMenu()
|
||||
call s:RedrawSessionMenu()
|
||||
" Compile
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.30 '.s:VimSuiteMenuName.
|
||||
\'&Compile.&Build<tab>:make'.
|
||||
\' :make<CR>'
|
||||
\'&Compile.&Build<tab>:Make'.
|
||||
\' :Make<CR>'
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.30 '.s:VimSuiteMenuName.
|
||||
\'&Compile.&Lint<tab>:make\ lint'.
|
||||
\' :make lint<CR>'
|
||||
\'&Compile.&Lint<tab>:Make\ lint'.
|
||||
\' :Make lint<CR>'
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.30 '.s:VimSuiteMenuName.
|
||||
\'&Compile.&Clean<tab>:make\ clean'.
|
||||
\' :make clean<CR>'
|
||||
\'&Compile.&Clean<tab>:Make\ clean'.
|
||||
\' :Make clean<CR>'
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.30 '.s:VimSuiteMenuName.
|
||||
\'&Compile.&Run<tab>:make\ run'.
|
||||
\' :make run<CR>'
|
||||
\'&Compile.&Run<tab>:Make\ run'.
|
||||
\' :Make run<CR>'
|
||||
" exec 'anoremenu '.s:VimSuiteMenuLocation.'.30 '. s:VimSuiteMenuName.
|
||||
" \'&Compile.-sep- :'
|
||||
" Search
|
||||
@ -501,8 +501,8 @@ function s:RedrawMenu()
|
||||
\'&Search.List\ &CTags<tab>:tselect'.
|
||||
\' :tselect /<C-R><C-W><CR>'
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.40 '.s:VimSuiteMenuName.
|
||||
\'&Search.Update\ c&tags<tab>:make\ tags'.
|
||||
\' :make tags<CR>'
|
||||
\'&Search.Update\ c&tags<tab>:Make\ tags'.
|
||||
\' :Make tags<CR>'
|
||||
" Edit
|
||||
exec 'anoremenu '.s:VimSuiteMenuLocation.'.50 '.s:VimSuiteMenuName.
|
||||
\'&Edit.&Comment\ out/in<tab>^k'.
|
||||
|
@ -1,5 +1,4 @@
|
||||
" Setzen des Runtimepath, in dem die Vimfiles gesucht werden:
|
||||
let &runtimepath = $VIMRUNTIME
|
||||
let &runtimepath = &runtimepath . ',' . g:vimsuite . '/vimfiles'
|
||||
let &runtimepath = &runtimepath . ',' . g:vimsuite . '/vimfiles.latex'
|
||||
let &runtimepath = &runtimepath . ',' . g:vimsuite . '/HTML'
|
||||
|
Loading…
x
Reference in New Issue
Block a user