fix: correctly setup autopairs

This commit is contained in:
Youwen Wu 2025-02-01 14:13:20 -08:00
parent c0ca115d7f
commit 7b8d20b65b
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 7 additions and 2 deletions

View file

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

View file

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