aboutsummaryrefslogtreecommitdiffstats
path: root/users/hanna/configs/helix.nix
blob: c6998d2f7928526a45d3651d987cf8d775d53c1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ pkgs, ... }:

let
  toml = pkgs.formats.toml {};
in {
  xdg.config.files."helix/config.toml".source = toml.generate "config.toml" {
    theme = "base16_transparent";

    editor = {
      mouse = false;
      true-color = true;
      middle-click-paste = false;
      auto-completion = false;
      path-completion = true;
      auto-format = false;
      auto-info = false;
      scroll-lines = 5;
      scrolloff = 10;

      lsp.enable = false;
      smart-tab.enable = false;

      cursor-shape = {
        normal = "bar";
        insert = "bar";
        select = "block";
      };

      indent-guides = {
        render = true;
        character = "│";
        skip-levels = 1;
      };
    };
  };
}