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

let
  vimrc   = builtins.readFile ./conf/rc.vim;
  plugins = pkgs.callPackage ./plugins.nix {};
in
{
  vam = {
    knownPlugins = pkgs.vimPlugins // plugins;
    pluginDictionaries = [
      { names = [
        "ctrlp"
        "undotree"
        "vim-unimpaired"
        "vim-airline"
        "vim-gitgutter"
        "goyo"
        "vim-localvimrc"
        "tagbar"
        "vim-addon-nix"
        "vim-autoformat"
        "vim-polyglot"
        "vim-csexact"
        "vim-color-akr"
      ];}
    ]; 
  };
  customRC = vimrc;
}