aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/nvim-tree.nix
blob: 813bd307c0f67c168cd8b5556fcca2d30f2622f6 (plain)
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
37
38
39
40
41
42
43
44
45
{ config, lib, ... }:

{
  config.programs.nixvim.plugins.nvim-tree = lib.mkIf config.tools.nixvim.enable {
    enable = true;
    settings = {
      filters = {
        dotfiles = false;
        git_clean = false;
        no_buffer = false;
        custom = {};
      };
      git = {
        enable = true;
        ignore = false;
      };
      view = {
        width = {
          padding = 0;
        };
      };
      renderer = {
        indent_markers = {
          enable = true;
          inline_arrows = false;
          icons = {
            corner = "└";
            edge = "│";
            item = "├";
            bottom = "─";
            none = " ";
          };
        };
        icons = {
          show = {
            folder = true;
            folder_arrow = false;
            file = true;
            git = true;
          };
        };
      };
    };
  };
}