From cb95018fcc09d77cd58219823bfd235765bbe8d1 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sun, 30 May 2021 22:32:02 +0200 Subject: [PATCH] vim:cscope_plus small fix --- .vim/plugin/cscope_plus.vim | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.vim/plugin/cscope_plus.vim b/.vim/plugin/cscope_plus.vim index 273fb49..0397093 100644 --- a/.vim/plugin/cscope_plus.vim +++ b/.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 :ShowMenuCodeDb + noremap :ShowMenuCodeDb else - map :call MenuCB(0, 1) + noremap :call MenuCB(0, 1) endif map :call MenuCB(0, 2)