ma editor/vim: use upstream vim-better-whitespace

This commit is contained in:
makefu 2020-10-23 21:31:10 +02:00
parent 2fc174ca74
commit 936861aeb4
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,17 +1,6 @@
{ config, pkgs, ... }:
let
customPlugins.vim-better-whitespace = pkgs.vimUtils.buildVimPlugin {
name = "vim-better-whitespace";
src = pkgs.fetchFromGitHub {
owner = "ntpeters";
repo = "vim-better-whitespace";
rev = "984c8da518799a6bfb8214e1acdcfd10f5f1eed7";
sha256 = "10l01a8xaivz6n01x6hzfx7gd0igd0wcf9ril0sllqzbq7yx2bbk";
};
};
in {
{
environment.systemPackages = [
pkgs.python27Full # required for youcompleteme
@ -19,7 +8,7 @@ in {
name = "vim";
vimrcConfig.customRC = builtins.readFile ./vimrc;
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins // customPlugins;
vimrcConfig.vam.knownPlugins = pkgs.vimPlugins;
vimrcConfig.vam.pluginDictionaries = [
{ names = [ "undotree"
"YouCompleteMe"