vim-bookmarks
vim-bookmarks copied to clipboard
Error when toggeling existing bookmark
I have a bookmark in a weird state: It shows up in the sign-column but is not considered by the plugin as bookmark: e.g. it can't be removed. When I put another bookmark at the same position and then try to toggle it away, I get the following error message:
Error detected while processing function BookmarkToggle..<SNR>57_refresh_line_numbers..bm#update_bookmark_for_sign..bm#get_bookmark_by_sign:
line 1:
E716: Key not present in Dictionary: 9509
E15: Invalid expression: g:sign_map[a:file][a:sign_idx]
line 2:
E121: Undefined variable: line_nr
E116: Invalid arguments for function bm#get_bookmark_by_line(a:file, line_nr)
E15: Invalid expression: bm#get_bookmark_by_line(a:file, line_nr)
Error detected while processing function ToggleBookmark..<SNR>58_refresh_line_numbers..bm#update_bookmark_for_sign..bm#del_bookmark_at_line..bm#get_bookmark_by_line:
line 1:
E716: Key not present in Dictionary: 0
E15: Invalid expression: g:line_map[a:file][a:line_nr]
Error detected while processing function ToggleBookmark..<SNR>58_refresh_line_numbers..bm#update_bookmark_for_sign..bm#del_bookmark_at_line:
line 2:
E716: Key not present in Dictionary: 0
line 3:
E716: Key not present in Dictionary: 0
Bookmark removed