From bb0b0c5e2524b00d61428305d55ed8c154ba3306 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 15 Nov 2022 01:02:45 +0800 Subject: chore: relax vimtex install condition --- lua/plugins.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 30ce219..8fd082e 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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 -- cgit v1.2.3