summaryrefslogtreecommitdiff
path: root/pkgs/vim/custom.nix
blob: 3d41861a1f64ef9dc299004627c96a561920f735 (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
{ pkgs }:

let
  vimrc   = builtins.readFile ./conf/rc.vim;
  plugins = pkgs.callPackage ./plugins.nix {};
in
{
  vam = {
    knownPlugins = pkgs.vimPlugins // plugins;
    pluginDictionaries = [
      { names = [
        "ctrlp"
        "goyo"
        "vim-far"
        "fugitive"
        "surround"
        "vim-unimpaired"
        "vim-mundo"
        "vim-airline"
        "vim-gitgutter"
        "vim-git-commit-viewer"
        "vim-signature"
        "vim-localvimrc"
        "vim-addon-nix"
        "vim-autoformat"
        "vim-polyglot"
        "vim-counterpoint"
        "vim-toggle-ui-elements"
        "vim-color-akr"
      ];}
    ];
  };
  customRC = vimrc;
}