mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Get rid of PrintWarningMsg()
This commit is contained in:
@@ -1010,9 +1010,9 @@ function! s:ProcessFile(fname, ftype)
|
||||
|
||||
if v:shell_error
|
||||
let msg = 'Tagbar: Could not generate tags for ' . a:fname
|
||||
call s:PrintWarningMsg(msg)
|
||||
echohl WarningMsg | echomsg msg | echohl None
|
||||
if !empty(ctags_output)
|
||||
call s:PrintWarningMsg(ctags_output)
|
||||
echohl WarningMsg | echomsg ctags_output | echohl None
|
||||
endif
|
||||
return
|
||||
endif
|
||||
@@ -1740,13 +1740,6 @@ function! TagbarGenerateStatusline()
|
||||
return text
|
||||
endfunction
|
||||
|
||||
" s:PrintWarningMsg() {{{1
|
||||
function! s:PrintWarningMsg(msg)
|
||||
echohl WarningMsg
|
||||
echomsg a:msg
|
||||
echohl None
|
||||
endfunction
|
||||
|
||||
" Commands {{{1
|
||||
command! -nargs=0 TagbarToggle call s:ToggleWindow()
|
||||
command! -nargs=0 TagbarOpen call s:OpenWindow()
|
||||
|
||||
Reference in New Issue
Block a user