added vimtex, dont remember configuration arghhhhhh

This commit is contained in:
Arpan Swaroop 2025-02-05 16:14:59 -06:00
parent 5105656526
commit 8f5a2e15cd
2 changed files with 11 additions and 2 deletions

View File

@ -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.

View File

@ -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,
},
}