Skip to content

Commit 338985b

Browse files
committed
fix(statuscolumn): Global statuscolumn now gets cached too
1 parent d4030cc commit 338985b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/bars/statuscolumn.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ statuscolumn.global_attach = function ()
435435
statuscolumn.update_id(window);
436436
end
437437

438+
vim.g.__statuscolumn = vim.o.statuscolumn == STC and "" or vim.o.statuscolumn;
438439
vim.o.statuscolumn = STC;
439440
end
440441

0 commit comments

Comments
 (0)