mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-05 03:22:32 +01:00
improve lsp progress style
This commit is contained in:
parent
a306fadcfb
commit
3406a93f50
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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#");
|
||||
|
||||
|
|
Loading…
Reference in a new issue