Skip to content

Commit

Permalink
Fixes #118 bookmarks hiding when switching buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
MattesGroeger committed Oct 1, 2021
1 parent 9cc5fa7 commit a86f638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/bookmark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ call s:set('g:bookmark_disable_ctrlp', 0 )
call s:set('g:bookmark_display_annotation', 0 )

function! s:init(file)
if g:bookmark_auto_save ==# 1 || g:bookmark_manage_per_buffer ==# 1
if g:bookmark_auto_save ==# 1 && g:bookmark_manage_per_buffer ==# 1
augroup bm_vim_enter
autocmd!
autocmd BufEnter * call s:set_up_auto_save(expand('<afile>:p'))
Expand Down

0 comments on commit a86f638

Please sign in to comment.