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