" Create "tags" file in your project's root first.
" Then :Ctags LANG to fill it.
-if exists("g:loaded_mein_ctags") | finish | endif
-let g:loaded_mein_ctags = 1
+if exists('*<SID>Ctags') | finish | endif
-function! s:ctags(lang, onlyCmd, verbose)
+function! s:Ctags(lang, onlyCmd, verbose)
let dst = tagfiles()
if len(dst) == 0
echohl WarningMsg | echomsg "No tagfiles" | echohl None
if a:verbose != v:true | redraw! | endif
endfunction
-command! -nargs=1 Ctags silent call s:ctags(<f-args>, v:false, v:false)
-command! -nargs=1 Ctagsv silent call s:ctags(<f-args>, v:true, v:false)
-command! -nargs=1 Ctagscmd call s:ctags(<f-args>, v:true, v:true)
+command! -nargs=1 Ctags silent call s:Ctags(<f-args>, v:false, v:false)
+command! -nargs=1 Ctagsv silent call s:Ctags(<f-args>, v:true, v:false)
+command! -nargs=1 Ctagscmd call s:Ctags(<f-args>, v:true, v:true)