summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/default.nix
blob: f5d63e34d059e88959793afd1384c2306de592ce (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
{
  pkgs,
  inputs,
}:
inputs.mnw.lib.wrap pkgs {
  neovim = pkgs.neovim-unwrapped;
  plugins = with pkgs.vimPlugins; {
    dev.config = {
      pure = ./config;
      impure = "/home/culsans/Sync/setup/pkgs/custom-neovim/config";
    };
    start = [
      # Not lazy loaded.
      lz-n # Lazy loader
      nvim-treesitter.withAllGrammars # All treesitter grammars
    ];
    opt = [
      # Lazy loaded.
      mini-clue
      mini-pick
      mini-statusline
      mini-files
      mini-extra
      comment-nvim
      vim-nix
      nightfox-nvim
    ];
  };
  luaFiles = [./config/init.lua];
  extraBinPath = with pkgs; [
    # LSP Servers
    lua-language-server

    # Extra Utils
    ripgrep
    gcc
    fd
  ];
}