current
 1{
 2  den.aspects.dev.provides.helix.homeManager = {pkgs, ...}: {
 3    programs.helix = {
 4      enable = true;
 5      package = pkgs.steelix;
 6      settings = {
 7        editor = {
 8          line-number = "relative";
 9          cursorline = true;
10          bufferline = "multiple";
11          statusline = {
12            left = ["mode" "spinner" "diagnostics" "workspace-diagnostics"];
13            center = ["file-name" "read-only-indicator" "file-modification-indicator"];
14            right = ["file-type" "file-encoding" "separator" "position" "total-line-numbers"];
15            mode.normal = "NORMAL";
16            mode.insert = "INSERT";
17            mode.select = "SELECT";
18          };
19          cursor-shape = {
20            normal = "block";
21            insert = "bar";
22            select = "block";
23          };
24          color-modes = true;
25          trim-trailing-whitespace = true;
26          inline-diagnostics.cursor-line = "warning";
27          end-of-line-diagnostics = "error";
28          lsp = {
29            display-inlay-hints = true;
30            inlay-hints-length-limit = 16;
31          };
32          indent-guides = {
33            render = true;
34            character = "";
35            skip-levels = 1;
36          };
37        };
38      };
39    };
40
41    xdg.dataFile."steel" = {
42      source = pkgs.symlinkJoin {
43        name = "steel-plugins";
44        paths = with pkgs.nur.repos.hpcesia.helixPlugins; [
45          helix-file-watcher
46          scooter-hx
47          wakatime-hx
48        ];
49      };
50      recursive = true;
51    };
52
53    xdg.configFile."helix/init.scm".source = ./init.scm;
54    xdg.configFile."helix/helix.scm".source = ./helix.scm;
55  };
56}