  
    execute 'normal!' a:line . 'G'
    normal! zMzvzz
-@@ -106,4 +105,5 @@ function! vimtex#view#reverse_goto(line, filename) abort " {{{1
+@@ -108,4 +107,5 @@ function! vimtex#view#reverse_goto(line, filename) abort " {{{1
    endif
  endfunction
  
 +command! -nargs=+ VimtexReverseGoto :call vimtex#view#reverse_goto(<f-args>)<cr>
  " }}}1
 diff --git a/autoload/vimtex/view/zathura.vim b/autoload/vimtex/view/zathura.vim
-index 45dad61..7ab73b3 100644
+index edbcbd36..2a05d587 100644
 --- a/autoload/vimtex/view/zathura.vim
 +++ b/autoload/vimtex/view/zathura.vim
-@@ -122,7 +122,7 @@ function! s:zathura.latexmk_append_argument() dict abort " {{{1
+@@ -121,7 +121,7 @@ function! s:zathura.latexmk_append_argument() dict abort " {{{1
      if self.has_synctex
        let zathura .= ' -x \"' . g:vimtex_compiler_progname
            \ . ' --servername ' . v:servername

From c1c58a3064f8c57a0f8777c1d3fa467e48617b0e Mon Sep 17 00:00:00 2001
From: Eric Squires <eric.squires@gtri.gatech.edu>
Date: Sun, 3 Feb 2019 23:35:48 -0500
Subject: [PATCH] open tag in reverse_goto when indicated by switchbuf

---
 .gitignore                       |  1 +
 autoload/vimtex/view.vim         | 14 +++++++-------
 autoload/vimtex/view/zathura.vim |  2 +-
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.gitignore b/.gitignore
index dc87ae0..c79e3e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 doc/tags
 test/*
+tags
diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim
index 0b2d8ee..6a6eeed 100644
--- a/autoload/vimtex/view.vim
+++ b/autoload/vimtex/view.vim
@@ -72,19 +72,18 @@ function! vimtex#view#reverse_goto(line, filename) abort " {{{1
   " Open file if necessary
   if !bufexists(l:file)
     if filereadable(l:file)

 
     let cmd  = vimtex#compiler#latexmk#wrap_option('new_viewer_always', '0')
-- 
2.17.1

