improve lsp progress style

This commit is contained in:
LordMZTE 2024-04-26 17:31:39 +02:00
parent a306fadcfb
commit 3406a93f50
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
2 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,7 @@ end)()
cg.opt.nix = nix
local fennel = (loadfile(nix["fennel.lua"] or"/usr/share/lua/5.4/fennel.lua") ())
local fennel = (loadfile(nix["fennel.lua"] or "/usr/share/lua/5.4/fennel.lua")())
-- Recursively merge 2 tables
local function merge(a, b)

View File

@ -51,8 +51,7 @@ fn lFormatSeries(l: *c.lua_State) !c_int {
if (percentage != 0)
try del.print("%#NONE#(%#Number#{d}%%%#NONE#)", .{percentage});
if (done)
try del.push("- %#DiagnosticOk#󰸞");
try del.push(if (done) "%#DiagnosticOk#󰸞" else "%#DiagnosticInfo#");
try del.writer.writeAll("%#NONE#");