1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 21:10:05 +08:00

feat(bookmark): add VimLeave autocmd

This commit is contained in:
Eric Wong 2024-03-30 22:15:03 +08:00
parent 7c80fe4369
commit 99738624b4

View File

@ -21,5 +21,5 @@ command! BookmarkShowAll call bookmarks#showall()
augroup bookmarks
autocmd!
autocmd BufEnter * call bookmarks#on_enter_buffer()
autocmd BufLeave * call bookmarks#on_leave_buffer()
autocmd BufLeave,VimLeave * call bookmarks#on_leave_buffer()
augroup END