MattesGroeger / vim-bookmarks

Vim bookmark plugin
http://www.vim.org/scripts/script.php?script_id=4893
MIT License
962 stars 98 forks source link

Not showing loaded bookmarks #48

Closed rfree2 closed 10 years ago

rfree2 commented 10 years ago

When I place bookmarks (mm) and quit vim and reopen same file again, then old bookmaks work I can jump o them using mn and mp, but:

1) the line for symbols is not shown (until I place additional bookmarks in this vim run using mm again) 2) even after adding new bookmarks, only the new bookmarks are visible with a symbols, the old ones remain hidden. When using highlight, only new lines are highlighted too;

My setup: I load with pathogen#infect , installed to: ls ~/.vim/bundle/vim-bookmarks-1.1.0/ autoload doc LICENSE plugin vim-bookmarks-1.1.0.zip

my ~/.vimrc source ~/.vim/vimrc

and my ~/.vim/vimrc

syntax on

set nocompatible

set shiftwidth=2 set tabstop=2 set autoindent

source ~/.vim/bin/minibufexpl.vim source ~/.vim/bundle/lastpos.vim

" source ~/.vim/bundle/vim-bookmarks/autoload/bm_sign.vim " source ~/.vim/bundle/vim-bookmarks/plugin/bookmark.vim

imap map :bnext! imap map :bprev!

imap map :w:make run imap map :w:make run map :cn map :cp

imap `

set hlsearch nnoremap :let @/='<=expand("")>':set hls nnoremap :noh

set nu

call pathogen#infect()

" www.vim.org/scripts/script.php?script_id=4893 let g:bookmark_auto_save = 1 let g:bookmark_highlight_lines = 1 " ctrl-B is toggling bookmarks imap i " map :ToggleBookmark " use mm in normal mode

rfree2 commented 10 years ago

command "ma" does show the loaded old bookmarks correctly (but does not show them in main window like the new ones)

rfree2 commented 10 years ago

Switching between open windows (tabs) with :bn does after all refresh the view and shows the old flags correctly. Maybe some kind of "redraw" function needs to be added on load?

MattesGroeger commented 10 years ago

Hi @rfree2,

thanks for reporting this bug. That sounds serious. I merged recently 2 pull request that involved changes in the initialisation logic. Could you please do me a favour and try your problem against the 2 previous versions:

  1. 419b057cf8859cd2e4d2145c20d311564ca7a612 (reverts latest change)
  2. 5f8d2962475bc4dc9211005b608f10e7c55bc244 (reverts 2 latest changes)

Let me know if you need help checking out these version for testing them. Your help is much appreciated!

MattesGroeger commented 10 years ago

I'm sorry but I can't reproduce this bug. It works just fine for me. I tried with vim 7.4 and Vundle. I'll close the issue for now. Feel free to comment if you have more information.

Matt-Deacalion commented 7 months ago

I have the same problem - it disappears when I disable the vim-signify plugin.