summaryrefslogtreecommitdiff
path: root/nixvim/default.nix
blob: c1c275c64c699c43d5471d9ff5461c2c28fb5da4 (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
46
47
48
49
50
{
  imports = [
    ./filetypes
    ./plugins
  ];

  colorschemes.catppuccin = {
    enable = true;

    settings = {
      flavour = "mocha";

      integrations = {
        cmp = true;
        flash = true;
        gitsigns = true;
        indent_blankline = {
          enabled = true;
        };
        lsp_trouble = true;
        native_lsp = {
          enabled = true;
        };
        neotree = true;
        treesitter = true;
        telescope = true;
        which_key = true;
      };

      no_italic = true;
    };
  };

  globals = {
    mapleader = " ";
  };

  opts = {
    shiftwidth = 2;
    tabstop = 2;

    # line stuff
    number = true;
    wrap = true;

    # ui
    mouse = "a";
    showmode = false; # status line does this
  };
}