From 47cce625be51032bc77a1bc9d46bdc9c53ee5011 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Tue, 27 Jan 2026 15:53:03 +0100 Subject: [PATCH] better helix --- home-modules/helix.nix | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/home-modules/helix.nix b/home-modules/helix.nix index 6286bec..f12cb44 100644 --- a/home-modules/helix.nix +++ b/home-modules/helix.nix @@ -305,31 +305,40 @@ "constant" = accent.bright; "constant.character.escape" = special.bright; "constant.numeric" = foreground; - "constructor" = weird.base; + "constructor" = secondary.bright; "debug" = yellow.base; "diagnostic.modifiers" = [ "underline" ]; "diff.delta" = subtle.bright; "diff.minus" = negative.bright; "diff.plus" = positive.bright; - "error" = red.base; + "error" = negative.base; "function" = secondary.bright; "hint" = tertiary.bright; "info" = foreground; - "keyword" = special.base; - "keyword.modifiers" = [ "italic" ]; + "keyword" = { + fg = special.base; + modifiers = [ "bold" ]; + }; "label" = foreground; "namespace" = weird.bright; "operator" = foreground; "special" = special.base; "string" = secondary.bright; - "type" = red.base; - "variable" = accent.base; - "variableother.member" = foreground; - "warning" = red.base; + "type" = { + fg = tertiary.base; + }; + "variable" = { fg = accent.base; }; + "variable.builtin" = { fg = accent.base; bg = subtle.darker; }; + "variable.parameter" = { fg = accent.base; bg = accent.darker; }; + "warning" = yellow.base; - "markup.heading" = accent.base; + "markup.heading" = { + fg = accent.base; + bg = accent.darker; + modifiers = [ "bold" ]; + }; "markup.bold" = { - fg = tertiary.bright; + fg = secondary.bright; modifiers = [ "bold" ]; }; "italic" = { @@ -339,7 +348,7 @@ "markup.linktext" = accent.base; "markup.linkurl" = { fg = tertiary.dark; - modifiers = [ "underlined" ]; + underline.style = "line"; }; "markup.list" = accent.bright; "markup.quote" = weird.bright; @@ -398,8 +407,8 @@ bg = background; }; "ui.menu.selected" = { - fg = secondary.base; - bg = secondary.dark; + fg = secondary.bright; + bg = secondary.darker; }; "ui.popup" = { bg = accent.darker; @@ -444,9 +453,9 @@ }; "ui.virtual.jump-label" = { fg = special.base; - underline = { - style = "dotted"; - }; + bg = special.dark; + underline.style = "dotted"; + modifiers = [ "bold" ]; }; "ui.window" = { bg = accent.darker;