feat: migrate autopairs and render-markdown
This commit is contained in:
parent
2e7e0c2552
commit
1f6029dbe1
4 changed files with 18 additions and 17 deletions
3
fnl/plugins/autopairs.fnl
Normal file
3
fnl/plugins/autopairs.fnl
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
(import-macros {: tx} :config.macros)
|
||||||
|
(tx :nvim-autopairs
|
||||||
|
{:event :BufEnter :after (fn [] (. (require :nvim-autopairs) :setup))})
|
5
fnl/plugins/render-markdown.fnl
Normal file
5
fnl/plugins/render-markdown.fnl
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
(import-macros {: tx} :config.macros)
|
||||||
|
|
||||||
|
(tx :render-markdown.nvim
|
||||||
|
{:after (fn []
|
||||||
|
((. (require :render-markdown) :setup) {:file_types [:markdown]}))})
|
12
lua/plugins/autopairs.lua
generated
12
lua/plugins/autopairs.lua
generated
|
@ -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,
|
|
||||||
}
|
|
||||||
|
|
15
lua/plugins/render-markdown.lua
generated
15
lua/plugins/render-markdown.lua
generated
|
@ -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,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue