Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward/Reverse jump doesn't activate on Sioyek #24

Open
DMNinja opened this issue Jun 25, 2023 · 0 comments
Open

Forward/Reverse jump doesn't activate on Sioyek #24

DMNinja opened this issue Jun 25, 2023 · 0 comments

Comments

@DMNinja
Copy link

DMNinja commented Jun 25, 2023

I'm using:

  • neovim 0.9.1-1 (Same as arch repos)
  • sioyek 2.0.0-2 (AUR)
  • Artix Linux
  • NVChad (Latest)
  • Vimtex (NOT Lazy-loaded)
  • Ltex-ls (Lazy)
  • Texlab (Lazy)
  • KNAP (NOT Lazy-loaded)

My related pdf settings are (stock from the readme with buffer as stdin enabled):
textopdf = "pdflatex -jobname \"$(basename -s .pdf %outputfile%)\" -halt-on-error",
textopdfbufferasstdin = true,
textopdfviewerlaunch = "sioyek --inverse-search 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' --new-window %outputfile%",
textopdfviewerrefresh = "none",
textopdfforwardjump = "sioyek --inverse-search 'nvim --headless -es --cmd \"lua require('\"'\"'knaphelper'\"'\"').relayjump('\"'\"'%servername%'\"'\"','\"'\"'%1'\"'\"',%2,%3)\"' --reuse-window --forward-search-file %srcfile% --forward-search-line %line% %outputfile%",


When i press F8 for forward search, i get the message "Attempting to jump to matching location"

I suspect it to be a knap.forward_jump issue since when i call lua require ("knap").forward_jump() from the command mode, i get the same return, meaning the command parses as intended.


Appending the results of the command when ran from a terminal with my v:servername
image


On sioyek, i enable synctex support (F4) and attempt a reverse search by right clicking on the document, and nothing happens either

How should i go about solving this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant