Fix a few errors

This commit is contained in:
baabelfish 2016-02-13 14:11:40 +02:00
commit 26aa6a5cbb
6 changed files with 37 additions and 20 deletions

View file

@ -180,7 +180,7 @@ function! s:RenderOutline()
exec ":" . len(rlines)
normal! dG
if !wasFocused && g:nvim_nim_outline_track_symbol && closest != 0
if !wasFocused && g:nvim_nim_outline_track_symbol && closest != 0 && has_key(s:buffermap, closest)
call cursor(s:buffermap[closest], 2)
normal zz
normal ^