diff options
| author | jdhao <jdhao@hotmail.com> | 2022-11-15 01:02:45 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-11-15 01:06:59 +0800 |
| commit | bb0b0c5e2524b00d61428305d55ed8c154ba3306 (patch) | |
| tree | 1747f7844e5f1888c3cb7b70bcf39fc6d10667b3 /lua | |
| parent | 41da56b823c8176f85134b03e8e8a50a7f6e6047 (diff) | |
chore: relax vimtex install condition
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
