Skip to content

Commit

Permalink
chore: add autocmd to clear marks
Browse files Browse the repository at this point in the history
  • Loading branch information
kawarimidoll committed Nov 27, 2023
1 parent bb15900 commit d27fdc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions k.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ function! k#enable() abort

augroup k_augroup
autocmd!
autocmd InsertLeave * call inline_mark#clear()
" TODO 自動disableはユーザーに任せるべき
autocmd InsertLeave * call k#disable()
autocmd CompleteDonePre *
\ if s:is_completed()
Expand Down

0 comments on commit d27fdc6

Please sign in to comment.