diff --git a/autoload/gh/bookmark.vim b/autoload/gh/bookmark.vim index e27179b..1889622 100644 --- a/autoload/gh/bookmark.vim +++ b/autoload/gh/bookmark.vim @@ -22,6 +22,8 @@ function! gh#bookmark#list() abort endfor endif + call gh#map#apply('gh-buffer-bookmark-list', s:gh_bookmark_list_bufid) + exe printf('augroup gh-bookmark-update-%d', bufnr()) au! au BufWriteCmd call s:bookmark_file_update() diff --git a/autoload/gh/map.vim b/autoload/gh/map.vim index aec4151..f1e8784 100644 --- a/autoload/gh/map.vim +++ b/autoload/gh/map.vim @@ -24,6 +24,7 @@ function! gh#map#init() abort \ 'gh-buffer-file': [], \ 'gh-buffer-gist-list': [], \ 'gh-buffer-gist': [], + \ 'gh-buffer-bookmark-list': [], \ } endfunction