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

Checkhealth fails for Sioyek #2441

Closed
reason4u2 opened this issue Jul 19, 2022 · 1 comment
Closed

Checkhealth fails for Sioyek #2441

reason4u2 opened this issue Jul 19, 2022 · 1 comment

Comments

@reason4u2
Copy link

Description

Checkhealth fails if vimtex_view_method is set to 'sioyek'.
Sioyek was added as native viewer in e60e1f9, but I guess the check_view_sioyek() was never implemented in autoload/health/vimtex.vim?

Steps to reproduce

Run :checkhealth in neovim.

Expected behavior

No errors

Actual behavior

ERROR: Failed to run healthcheck for "vimtex" plugin. Exception:
    function health#check[20]..health#vimtex#check[7]..<SNR>142_check_view, line 1
    Vim(call):E117: Unknown function: <SNR>142_check_view_sioyek

Do you use a latexmkrc file?

No

VimtexInfo

System info:
  OS: Linux 5.18.5-arch1-1
  Vim version: NVIM v0.7.2
  Has clientserver: true
  Servername: /tmp/nvim3TrMIr/0

VimTeX project: test
  base: test.tex
  root: /
  tex: /test.tex
  main parser: current file
  document class: 
  compiler: latexmk
    engine: -pdf
    options:
      -verbose
      -file-line-error
      -synctex=1
      -interaction=nonstopmode
    callback: 1
    continuous: 1
    executable: latexmk
  viewer: sioyek
  qf method: LaTeX logfile

Minimal init.lua

vim.g.vimtex_view_method = 'sioyek'
lervag added a commit that referenced this issue Jul 20, 2022
@lervag
Copy link
Owner

lervag commented Jul 20, 2022

Thanks, I think this should be fixed now.

@lervag lervag closed this as completed Jul 20, 2022
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

2 participants