From 67924c654d3bfb3e247c56a9ba9a386c76352df0 Mon Sep 17 00:00:00 2001 From: Patrick Auernig Date: Fri, 19 Apr 2024 17:37:31 +0200 Subject: [PATCH] Update ufo configuration --- lua/valeth/plugins/ufo.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/valeth/plugins/ufo.lua b/lua/valeth/plugins/ufo.lua index 66c0e18..332d422 100644 --- a/lua/valeth/plugins/ufo.lua +++ b/lua/valeth/plugins/ufo.lua @@ -24,7 +24,9 @@ spec.config = function() }) ufo.setup({ - close_fold_kinds = {"comment", "imports"}, + close_fold_kinds_for_ft = { + default = { "comment", "imports" }, + }, }) end