feat: fennelize latex
This commit is contained in:
parent
98be3f4254
commit
c34683821c
2 changed files with 11 additions and 8 deletions
5
fnl/plugins/by-lang/latex.fnl
Normal file
5
fnl/plugins/by-lang/latex.fnl
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{1 :texpresso.vim
|
||||||
|
:after (fn []
|
||||||
|
(tset (require :texpresso) :texpresso_path (nixCats :bin.texpresso)))
|
||||||
|
:cmd [:TeXpresso]
|
||||||
|
:filetypes [:*.tex]}
|
14
lua/plugins/by-lang/latex.lua
generated
14
lua/plugins/by-lang/latex.lua
generated
|
@ -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,
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue