aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/nord-blue/helix.nix
blob: 6a828ff7caaaabae704261e3f3af3704e2c8faf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs, config, lib, ... }:

{
  programs.helix = {
    enable = true;
    settings = {
      theme = "ayu_mirage";
      editor.cursor-shape = {
      normal = "block";
      insert = "bar";
      select = "underline";
      };
    };
    languages.language = [{
      name = "nix";
      auto-format = true;
      formatter.command = lib.getExe pkgs.nixfmt-rfc-style;
    }];
  };
}