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 { -- [nfnl] Compiled from ./fnl/plugins/by-lang/latex.fnl by https://github.com/Olical/nfnl, do not edit.
"texpresso.vim", local function _1_()
filetypes = { "*.tex" }, require("texpresso")["texpresso_path"] = nixCats("bin.texpresso")
cmd = { "TeXpresso" }, return nil
after = function() end
require("texpresso").texpresso_path = nixCats("bin.texpresso") return {"texpresso.vim", after = _1_, cmd = {"TeXpresso"}, filetypes = {"*.tex"}}
end,
}