Skip to content

Commit

Permalink
fix(health): check for sioyek
Browse files Browse the repository at this point in the history
refer: #2441
  • Loading branch information
lervag committed Jul 20, 2022
1 parent e56daa6 commit 873c023
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions autoload/health/vimtex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,20 @@ function! s:check_view_mupdf() abort " {{{1
endif
endfunction

" }}}1
function! s:check_view_sioyek() abort " {{{1
let l:ok = 1

if !executable(g:vimtex_view_sioyek_exe)
call health#report_error('Sioyek is not executable!')
let l:ok = 0
endif

if l:ok
call health#report_ok('Sioyek should work properly!')
endif
endfunction

" }}}1
function! s:check_view_skim() abort " {{{1
call vimtex#jobs#run(join([
Expand Down

0 comments on commit 873c023

Please sign in to comment.