diff --git a/fnl/plugins/autopairs.fnl b/fnl/plugins/autopairs.fnl index 27a985d..88a8c9d 100644 --- a/fnl/plugins/autopairs.fnl +++ b/fnl/plugins/autopairs.fnl @@ -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)))}) diff --git a/lua/plugins/autopairs.lua b/lua/plugins/autopairs.lua index 6a46740..cd3cc87 100644 --- a/lua/plugins/autopairs.lua +++ b/lua/plugins/autopairs.lua @@ -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"}