feat: fennelize latex

This commit is contained in:
Youwen Wu 2025-02-01 14:50:32 -08:00
parent 98be3f4254
commit c34683821c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 11 additions and 8 deletions

View file

@ -0,0 +1,5 @@
{1 :texpresso.vim
:after (fn []
(tset (require :texpresso) :texpresso_path (nixCats :bin.texpresso)))
:cmd [:TeXpresso]
:filetypes [:*.tex]}

View file

@ -1,8 +1,6 @@
return {
"texpresso.vim",
filetypes = { "*.tex" },
cmd = { "TeXpresso" },
after = function()
require("texpresso").texpresso_path = nixCats("bin.texpresso")
end,
}
-- [nfnl] Compiled from ./fnl/plugins/by-lang/latex.fnl by https://github.com/Olical/nfnl, do not edit.
local function _1_()
require("texpresso")["texpresso_path"] = nixCats("bin.texpresso")
return nil
end
return {"texpresso.vim", after = _1_, cmd = {"TeXpresso"}, filetypes = {"*.tex"}}