Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion autoload/vimtex/view/zathura.vim
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ endfunction

" }}}1

let s:inverse_search_cmd = get(v:, 'progpath', get(v:, 'progname', ''))
let s:inverse_search_cmd = get(g:, 'vimtex_callback_progpath',
\ get(v:, 'progpath', get(v:, 'progname', '')))
\ . (has('nvim')
\ ? ' --headless'
\ : ' -T dumb --not-a-term -n')
9 changes: 9 additions & 0 deletions doc/vimtex.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2927,6 +2927,15 @@ OPTIONS *vimtex-options*

Default value: 1

*g:vimtex_callback_progpath*
The path to the vim binary that will be passed to viewers (for example
Zathura) for synctex callbacks. If unset, vimtex will fallback to use
|v:progpath|. You usually don't have to touch this variable, but if your
vim loads vimtex using a wrapper then it needs to be set otherwise
inverse search calls from viewers won't work.

Default value: unset

*$VIMTEX_OUTPUT_DIRECTORY*
This environment variable allows to specify the output directory of
auxiliary LaTeX files. If it exists and is a valid path, this path will be
Expand Down