add latex hot reload and lsp support

This commit is contained in:
Youwen Wu 2024-04-23 13:21:27 -07:00
parent 1e32fbb6fc
commit 4b52bd9237
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

13
lua/plugins/latex.lua Normal file
View file

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