From 4b52bd9237c5f54632fc9a6e4349f15254c4a212 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 23 Apr 2024 13:21:27 -0700 Subject: [PATCH] add latex hot reload and lsp support --- lua/plugins/latex.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/plugins/latex.lua diff --git a/lua/plugins/latex.lua b/lua/plugins/latex.lua new file mode 100644 index 0000000..3e4a2ef --- /dev/null +++ b/lua/plugins/latex.lua @@ -0,0 +1,13 @@ +-- defines latex plugins, EXCEPT the lsp (defined in lsp.) + +return { + { + "lervag/vimtex", + ft = { "tex", "latex", "bib" }, + -- tag = "v2.15", -- uncomment to pin to a specific release + init = function() + -- VimTeX configuration goes here + vim.g.vimtex_view_method = "skim" + end, + }, +}