fix: correctly setup autopairs
This commit is contained in:
parent
c0ca115d7f
commit
7b8d20b65b
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
||||||
(import-macros {: tx} :config.macros)
|
(import-macros {: tx} :config.macros)
|
||||||
(tx :nvim-autopairs
|
(tx :nvim-autopairs
|
||||||
{:event :BufEnter :after (. (require :nvim-autopairs) :setup)})
|
{:event :BufEnter
|
||||||
|
:after (fn []
|
||||||
|
((. (require :nvim-autopairs) :setup)))})
|
||||||
|
|
5
lua/plugins/autopairs.lua
generated
5
lua/plugins/autopairs.lua
generated
|
@ -1,2 +1,5 @@
|
||||||
-- [nfnl] Compiled from ./fnl/plugins/autopairs.fnl by https://github.com/Olical/nfnl, do not edit.
|
-- [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"}
|
||||||
|
|
Loading…
Reference in a new issue