Disabled vimmake for now, the github repo is gone

This commit is contained in:
Emmanuel BENOîT 2020-05-13 10:46:01 +02:00
parent c1f674f857
commit b11b27ca03
2 changed files with 45 additions and 45 deletions

View file

@ -1,44 +1,44 @@
if exists( 'g:vim_local_path' ) "if exists( 'g:vim_local_path' )
let g:vimmake_path = g:vim_local_path . 'scripts' " let g:vimmake_path = g:vim_local_path . 'scripts'
"
let g:vimmake_mode = {} " let g:vimmake_mode = {}
let g:vimmake_mode['clean'] = 'async' " let g:vimmake_mode['clean'] = 'async'
let g:vimmake_mode['build'] = 'async' " let g:vimmake_mode['build'] = 'async'
let g:vimmake_mode['rebuild'] = 'async' " let g:vimmake_mode['rebuild'] = 'async'
let g:vimmake_mode['test'] = 'async' " let g:vimmake_mode['test'] = 'async'
"
function! DoBuild(full) " function! DoBuild(full)
silent call vimmake#toggle_quickfix(12,1) " silent call vimmake#toggle_quickfix(12,1)
if a:full == 0 " if a:full == 0
VimTool build " VimTool build
else " else
VimTool rebuild " VimTool rebuild
endif " endif
endfunc " endfunc
"
function! KillBuild() " function! KillBuild()
silent call vimmake#toggle_quickfix(0) " silent call vimmake#toggle_quickfix(0)
VimStop " VimStop
endfunc " endfunc
"
function! RunTest() " function! RunTest()
silent call vimmake#toggle_quickfix(12,1) " silent call vimmake#toggle_quickfix(12,1)
VimTool test " VimTool test
endfunc " endfunc
"
augroup QuickfixStatus " augroup QuickfixStatus
au! BufWinEnter quickfix setlocal " au! BufWinEnter quickfix setlocal
\ statusline=%t\ [%{g:vimmake_build_status}]\ %{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P " \ statusline=%t\ [%{g:vimmake_build_status}]\ %{exists('w:quickfix_title')?\ '\ '.w:quickfix_title\ :\ ''}\ %=%-15(%l,%c%V%)\ %P
augroup END " augroup END
"
noremap <F12> :silent call vimmake#toggle_quickfix(12)<cr> " noremap <F12> :silent call vimmake#toggle_quickfix(12)<cr>
inoremap <F12> <esc>:silent call vimmake#toggle_quickfix(12)<cr>li " inoremap <F12> <esc>:silent call vimmake#toggle_quickfix(12)<cr>li
noremap <F10> :silent call DoBuild(0)<cr> " noremap <F10> :silent call DoBuild(0)<cr>
inoremap <F10> <esc>:silent call DoBuild(0)<cr>li " inoremap <F10> <esc>:silent call DoBuild(0)<cr>li
noremap <S-F10> :silent call DoBuild(1)<cr> " noremap <S-F10> :silent call DoBuild(1)<cr>
inoremap <S-F10> <esc>:silent call DoBuild(1)<cr>li " inoremap <S-F10> <esc>:silent call DoBuild(1)<cr>li
noremap <C-F10> :silent call KillBuild()<cr> " noremap <C-F10> :silent call KillBuild()<cr>
inoremap <C-F10> <esc>:silent call KillBuild()<cr>li " inoremap <C-F10> <esc>:silent call KillBuild()<cr>li
noremap <F11> :silent call RunTest()<cr> " noremap <F11> :silent call RunTest()<cr>
inoremap <F11> <esc>:silent call RunTest()<cr>li " inoremap <F11> <esc>:silent call RunTest()<cr>li
endif "endif

View file

@ -1 +1 @@
NeoBundle 'skywind3000/vimmake' "NeoBundle 'skywind3000/vimmake'