From e23ca58ca246cb3d34c26e10327db194b273e392 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Tue, 30 Jul 2024 13:46:40 +0200 Subject: [PATCH] fix: hide clock and file encoding on small windows --- lua/weeheavy/plugins/lualine.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/weeheavy/plugins/lualine.lua b/lua/weeheavy/plugins/lualine.lua index 5dfe50d..c24416b 100644 --- a/lua/weeheavy/plugins/lualine.lua +++ b/lua/weeheavy/plugins/lualine.lua @@ -67,11 +67,11 @@ return { }, lualine_x = { -- specify full list of elements when adding custom things - { "encoding" }, + { "encoding", cond = hide_in_width }, { "fileformat" }, { "filetype" }, { lsp_clients, cond = hide_in_width }, - { clock, cond = hide_in_width }, + --{ clock, cond = hide_in_width }, }, }, },