From e2a74388077a41d07840d264474f255ff22d2020 Mon Sep 17 00:00:00 2001 From: Saeed Afzal Date: Wed, 26 Feb 2025 23:01:41 +0000 Subject: [PATCH] Change to not use `luaeval` and set background colour for statusline. --- lua/core/statusline.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/core/statusline.lua b/lua/core/statusline.lua index 2f5386b..8e0d3e9 100644 --- a/lua/core/statusline.lua +++ b/lua/core/statusline.lua @@ -35,4 +35,6 @@ function StatusLine() } end -o.statusline = "%!luaeval('StatusLine()')" +o.statusline = "%!v:lua.StatusLine()" + +api.nvim_set_hl(0, "StatusLine", { bg = "#1D293D", fg = "#CAD5E2" })