nvim: only activate vimtex if xelatex is installed
This commit is contained in:
parent
7bc6c81176
commit
aabbf6b237
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user