anchor.diff:        description = "VAM plugin dictionaries to use for vim_configurable.";
       };
   
  +    programs.vim.package = mkOption {
  +      internal = true;
  +      type = types.package;
  +    };
  +
       programs.vim.vimOptions = mkOption {
         internal = true;
         type = types.attrsOf (types.submodule text);
  
positive.code: 
      environment.systemPackages =
        [ # Include vim_configurable package.
          vim
        ];
  
      environment.variables.EDITOR = "${vim}/bin/vim";
  
      environment.etc."vimrc".text = ''
        ${vimOptions}
  
negative.code:         source /etc/vimrc.local
        endif
      '';
  
      programs.vim.package = pkgs.vim_configurable.customize {
        name = "vim";
        vimrcConfig.customRC = config.environment.etc."vimrc".text;
        vimrcConfig.vam = {
          knownPlugins = pkgs.vimPlugins // cfg.extraKnownPlugins;
          pluginDictionaries = cfg.plugins;
        };
      };
  
      programs.vim.plugins = mkIf cfg.enableSensible [
        { names = [ "fugitive" "surround" "vim-nix" ]; }
  