From fe442419ac53fbfab339cb88c44a90441cd9ac9e Mon Sep 17 00:00:00 2001 From: Samyak S Sarnayak Date: Sat, 3 Sep 2022 00:32:43 +0530 Subject: [PATCH] fix heirline after pick_child_on_condition deprecation see https://github.com/rebelot/heirline.nvim/issues/17#issuecomment-1233134241 --- lua/statusline.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/statusline.lua b/lua/statusline.lua index a2c2c3e..e064ac9 100644 --- a/lua/statusline.lua +++ b/lua/statusline.lua @@ -396,7 +396,7 @@ local StatusLines = { } end end, - init = require'heirline.utils'.pick_child_on_condition, + fallthrough = false, SpecialStatusline, InactiveStatusline, DefaultStatusline, }