feat: migrate autopairs and render-markdown

This commit is contained in:
Youwen Wu 2025-02-01 03:16:43 -08:00
parent 2e7e0c2552
commit 1f6029dbe1
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 18 additions and 17 deletions

View file

@ -0,0 +1,3 @@
(import-macros {: tx} :config.macros)
(tx :nvim-autopairs
{:event :BufEnter :after (fn [] (. (require :nvim-autopairs) :setup))})

View file

@ -0,0 +1,5 @@
(import-macros {: tx} :config.macros)
(tx :render-markdown.nvim
{:after (fn []
((. (require :render-markdown) :setup) {:file_types [:markdown]}))})

View file

@ -1,7 +1,5 @@
return {
"nvim-autopairs",
event = "BufEnter",
after = function()
require("nvim-autopairs").setup()
end,
}
-- [nfnl] Compiled from ./fnl/plugins/autopairs.fnl by https://github.com/Olical/nfnl, do not edit.
local function _1_()
return require("nvim-autopairs").setup
end
return {"nvim-autopairs", after = _1_, event = "BufEnter"}

View file

@ -1,10 +1,5 @@
return {
{
"render-markdown.nvim",
after = function()
require("render-markdown").setup({
file_types = { "markdown" },
})
end,
},
}
-- [nfnl] Compiled from ./fnl/plugins/render-markdown.fnl by https://github.com/Olical/nfnl, do not edit.
local function _1_()
return require("render-markdown").setup({file_types = {"markdown"}})
end
return {"render-markdown.nvim", after = _1_}