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 { -- [nfnl] Compiled from ./fnl/plugins/autopairs.fnl by https://github.com/Olical/nfnl, do not edit.
"nvim-autopairs", local function _1_()
event = "BufEnter", return require("nvim-autopairs").setup
after = function() end
require("nvim-autopairs").setup() return {"nvim-autopairs", after = _1_, event = "BufEnter"}
end,
}

View file

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