Skip to content

Checkhealth fails for Sioyek #2441

@reason4u2

Description

@reason4u2

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions