mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:00:06 +08:00
feat(bookmark): add VimLeave autocmd
This commit is contained in:
parent
7c80fe4369
commit
99738624b4
@ -21,5 +21,5 @@ command! BookmarkShowAll call bookmarks#showall()
|
|||||||
augroup bookmarks
|
augroup bookmarks
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufEnter * call bookmarks#on_enter_buffer()
|
autocmd BufEnter * call bookmarks#on_enter_buffer()
|
||||||
autocmd BufLeave * call bookmarks#on_leave_buffer()
|
autocmd BufLeave,VimLeave * call bookmarks#on_leave_buffer()
|
||||||
augroup END
|
augroup END
|
||||||
|
Loading…
Reference in New Issue
Block a user