From 8f5a2e15cdb71c4e45609477022bd40ce083c0e4 Mon Sep 17 00:00:00 2001 From: Arpan Swaroop Date: Wed, 5 Feb 2025 16:14:59 -0600 Subject: [PATCH] added vimtex, dont remember configuration arghhhhhh --- init.lua | 4 ++-- lua/custom/plugins/init.lua | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index b499fb1a..a5ffe2eb 100644 --- a/init.lua +++ b/init.lua @@ -911,9 +911,9 @@ require('lazy').setup({ main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { - ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }, + ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'rust', 'python' }, -- Autoinstall languages that are not installed - auto_install = true, + auto_install = false, highlight = { enable = true, -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules. diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 3da3cb0a..335d58c3 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -37,4 +37,13 @@ return { { 'mbbill/undotree', }, + { + 'lervag/vimtex', + lazy = false, -- we don't want to lazy load VimTeX + -- tag = "v2.15", -- uncomment to pin to a specific release + init = function() + -- VimTeX configuration goes here, e.g. + vim.g.vimtex_view_method = 'zathura' + end, + }, }