nvim: only activate vimtex if xelatex is installed

This commit is contained in:
tastytea 2022-09-01 00:48:12 +02:00
parent 7bc6c81176
commit aabbf6b237
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM

View File

@ -42,7 +42,8 @@ require('packer').startup({ function(use)
use { 'https://github.com/powerman/vim-plugin-AnsiEsc' } use { 'https://github.com/powerman/vim-plugin-AnsiEsc' }
use { use {
'https://github.com/lervag/vimtex', 'https://github.com/lervag/vimtex',
tag = '*' tag = '*',
cond = vim.fn.executable('xelatex') == 1
} }
-- completion -- completion