Browse Source

vim:cscope_plus small fix

master
Mathieu Maret 2 months ago
parent
commit
11474c329b
  1. 7
      .vim/plugin/cscope_plus.vim

7
.vim/plugin/cscope_plus.vim

@ -72,7 +72,7 @@ if has("cscope")
call GetCscopeDb(path)
endfunction
command! GenerateCscopeDb :call GenerateCscopeDb()
endif
" Let autotags find all cscodepeDb
" LoadLocalCscopeDb
@ -124,11 +124,10 @@ command! ShowMenuCodeDb
\ title: "Code database for ".g:build_cmd,
\ callback: 'MenuCB', highlight: 'Question', padding: [1,1,0,1]} )
endif
if v:version >= 800 " or 820?
map <S-F8> :ShowMenuCodeDb <CR>
noremap <S-F8> :ShowMenuCodeDb <CR>
else
map <S-F8> :call MenuCB(0, 1)<CR>
noremap <S-F8> :call MenuCB(0, 1)<CR>
endif
map <M-F8> :call MenuCB(0, 2)<CR>
Loading…
Cancel
Save