mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-05-20 07:53:56 +02:00
improve lsp progress style
This commit is contained in:
parent
a306fadcfb
commit
3406a93f50
|
@ -31,7 +31,7 @@ end)()
|
||||||
|
|
||||||
cg.opt.nix = nix
|
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
|
-- Recursively merge 2 tables
|
||||||
local function merge(a, b)
|
local function merge(a, b)
|
||||||
|
|
|
@ -51,8 +51,7 @@ fn lFormatSeries(l: *c.lua_State) !c_int {
|
||||||
if (percentage != 0)
|
if (percentage != 0)
|
||||||
try del.print("%#NONE#(%#Number#{d}%%%#NONE#)", .{percentage});
|
try del.print("%#NONE#(%#Number#{d}%%%#NONE#)", .{percentage});
|
||||||
|
|
||||||
if (done)
|
try del.push(if (done) "%#DiagnosticOk#" else "%#DiagnosticInfo#");
|
||||||
try del.push("- %#DiagnosticOk#");
|
|
||||||
|
|
||||||
try del.writer.writeAll("%#NONE#");
|
try del.writer.writeAll("%#NONE#");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue