Skip to content

Commit

Permalink
fix: fix autocmd-event for auto_complete
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Nov 27, 2023
1 parent f150e8a commit 45e5569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k.vim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function! k#enable() abort
autocmd InsertLeave * call k#disable()
autocmd CompleteDonePre * call s:complete_done_pre(complete_info(), v:completed_item)
if s:min_auto_complete_length > 0
autocmd TextChangedI * call s:auto_complete()
autocmd TextChangedI,TextChangedP * call s:auto_complete()
endif
augroup END

Expand Down

0 comments on commit 45e5569

Please sign in to comment.