mirror of
https://github.com/prabirshrestha/asyncomplete.vim.git
synced 2025-12-14 20:35:41 +01:00
remove unncessary logs
This commit is contained in:
@@ -11,7 +11,6 @@ if !has('timers')
|
||||
endif
|
||||
|
||||
let s:already_setup = 0
|
||||
let s:previous_position = []
|
||||
|
||||
function! asyncomplete#log(...) abort
|
||||
if !empty(g:asyncomplete_log_file)
|
||||
|
||||
@@ -40,12 +40,10 @@ function! s:on_insert_leave() abort
|
||||
endfunction
|
||||
|
||||
function! s:on_text_changed_i() abort
|
||||
call asyncomplete#log('i', s:previous_position, getcurpos())
|
||||
call s:maybe_notify_on_change()
|
||||
endfunction
|
||||
|
||||
function! s:on_text_changed_p() abort
|
||||
call asyncomplete#log('p', s:previous_position, getcurpos())
|
||||
call s:maybe_notify_on_change()
|
||||
endfunction
|
||||
|
||||
@@ -59,4 +57,3 @@ function! s:maybe_notify_on_change() abort
|
||||
endfor
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user