count combo also when there's a visible popup

This commit is contained in:
əlemi 2021-10-23 15:28:33 +02:00
parent 3e0e8dc077
commit 3cbdc23a90
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -63,6 +63,7 @@ function! UpdateCombo()
let g:last_combo = reltime()
endfunction
autocmd TextChangedI * call UpdateCombo() " Every time text is changed, call combo function
autocmd TextChangedP * call UpdateCombo() " Every time text is changed, call combo function
" Checks if a new combo has been achieved and saves it to file
function! SaveCombo() " Should check inside because it can be called on InsertLeave