diff --git a/autoload/minimap/vim.vim b/autoload/minimap/vim.vim index a886b58..dc39183 100644 --- a/autoload/minimap/vim.vim +++ b/autoload/minimap/vim.vim @@ -802,7 +802,10 @@ endfunction function! s:minimap_move() abort if s:win_info == {} call s:get_window_info() - end + if s:win_info == {} + echom 'Could not populate s:win_info, exiting' + endif + endif let curr = line('.') execute 'wincmd p'