From c1c0c0a2f05da81289f434ddc0c82dee5bd3939c Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sat, 14 Dec 2024 00:26:02 +0800 Subject: [PATCH] Add vimtex --- init.lua | 9 +++++++++ lazy-lock.json | 1 + 2 files changed, 10 insertions(+) diff --git a/init.lua b/init.lua index 8fbfc9f..371510b 100644 --- a/init.lua +++ b/init.lua @@ -1006,6 +1006,15 @@ require('lazy').setup({ 'nvim-tree/nvim-web-devicons', }, }, + { + '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, + }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lazy-lock.json b/lazy-lock.json index 6465c73..54fd2e3 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -27,5 +27,6 @@ "todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, "tokyonight.nvim": { "branch": "main", "commit": "c2725eb6d086c8c9624456d734bd365194660017" }, "vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" }, + "vimtex": { "branch": "master", "commit": "3401dc81a14b7251bd813e2411eaf0d3b65bd2af" }, "which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" } }