mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
Check existence of function
This commit is contained in:
@@ -80,8 +80,10 @@ endfunction
|
|||||||
function! gitgutter#debug#log(message, ...)
|
function! gitgutter#debug#log(message, ...)
|
||||||
if g:gitgutter_log
|
if g:gitgutter_log
|
||||||
if s:new_log_session && gitgutter#async#available()
|
if s:new_log_session && gitgutter#async#available()
|
||||||
|
if exists('*ch_logfile')
|
||||||
call ch_logfile(s:channel_log, 'w')
|
call ch_logfile(s:channel_log, 'w')
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
execute 'redir >> '.s:log_file
|
execute 'redir >> '.s:log_file
|
||||||
if s:new_log_session
|
if s:new_log_session
|
||||||
|
|||||||
Reference in New Issue
Block a user