From 7012f0e14f61db0a45e8bf44f64320fbd1670fe4 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 19 Apr 2024 04:21:10 -0500 Subject: [PATCH] refactor(nvim): add check for folds in statuscol for std cond --- dots/.config/nvim/lua/plugins/configs/statuscol.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/statuscol.lua b/dots/.config/nvim/lua/plugins/configs/statuscol.lua index 1e997f65..ff6909ff 100644 --- a/dots/.config/nvim/lua/plugins/configs/statuscol.lua +++ b/dots/.config/nvim/lua/plugins/configs/statuscol.lua @@ -33,7 +33,7 @@ return { return value end end - return not buf_opt("bufhidden") + return (not buf_opt("bufhidden")) or (args.fold.width > 0) end return {