vim:cscope_plus small fix
This commit is contained in:
parent
75759096ee
commit
cb95018fcc
@ -72,7 +72,7 @@ if has("cscope")
|
|||||||
call GetCscopeDb(path)
|
call GetCscopeDb(path)
|
||||||
endfunction
|
endfunction
|
||||||
command! GenerateCscopeDb :call GenerateCscopeDb()
|
command! GenerateCscopeDb :call GenerateCscopeDb()
|
||||||
|
endif
|
||||||
" Let autotags find all cscodepeDb
|
" Let autotags find all cscodepeDb
|
||||||
" LoadLocalCscopeDb
|
" LoadLocalCscopeDb
|
||||||
|
|
||||||
@ -124,11 +124,10 @@ command! ShowMenuCodeDb
|
|||||||
\ title: "Code database for ".g:build_cmd,
|
\ title: "Code database for ".g:build_cmd,
|
||||||
\ callback: 'MenuCB', highlight: 'Question', padding: [1,1,0,1]} )
|
\ callback: 'MenuCB', highlight: 'Question', padding: [1,1,0,1]} )
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
if v:version >= 800 " or 820?
|
if v:version >= 800 " or 820?
|
||||||
map <S-F8> :ShowMenuCodeDb <CR>
|
noremap <S-F8> :ShowMenuCodeDb <CR>
|
||||||
else
|
else
|
||||||
map <S-F8> :call MenuCB(0, 1)<CR>
|
noremap <S-F8> :call MenuCB(0, 1)<CR>
|
||||||
endif
|
endif
|
||||||
map <M-F8> :call MenuCB(0, 2)<CR>
|
map <M-F8> :call MenuCB(0, 2)<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user