From dc145c844e95e0b68e04253703e8a822deaa84c1 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sun, 16 Jun 2024 05:20:13 +0200 Subject: [PATCH] fix: don require ufo when setting up au --- lua/nxvim/plugins/ufo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nxvim/plugins/ufo.lua b/lua/nxvim/plugins/ufo.lua index 5258ff5..5ab065b 100644 --- a/lua/nxvim/plugins/ufo.lua +++ b/lua/nxvim/plugins/ufo.lua @@ -33,7 +33,7 @@ ufo.setup({ nx.au({ "FileType", pattern = { "markdown", "NeogitStatus" }, - callback = function() require("ufo").detach() end, + callback = function() ufo.detach() end, }) -- <== }