1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

chore: relax vimtex install condition

This commit is contained in:
jdhao
2022-11-15 01:02:45 +08:00
parent 41da56b823
commit bb0b0c5e25
3 changed files with 3 additions and 5 deletions

View File

@@ -289,7 +289,7 @@ packer.startup {
use { "michaeljsmith/vim-indent-object", event = "VimEnter" }
-- Only use these plugin on Windows and Mac and when LaTeX is installed
if vim.g.is_win or vim.g.is_mac and utils.executable("latex") then
if utils.executable("latex") then
use { "lervag/vimtex", ft = { "tex" } }
end