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 {
|
||||
"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"}
|
||||
|
|
15
lua/plugins/render-markdown.lua
generated
15
lua/plugins/render-markdown.lua
generated
|
@ -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_}
|
||||
|
|
Loading…
Reference in a new issue