vim:cscope_plus small fix

This commit is contained in:
Mathieu Maret 2021-05-30 22:32:02 +02:00
parent 75759096ee
commit cb95018fcc

View File

@ -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>