From 936861aeb4861e46ac7c2f18c635c02ba204b04e Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 23 Oct 2020 21:31:10 +0200 Subject: ma editor/vim: use upstream vim-better-whitespace --- makefu/2configs/editor/vim.nix | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'makefu') diff --git a/makefu/2configs/editor/vim.nix b/makefu/2configs/editor/vim.nix index 3954dc0f3..2277ed3a3 100644 --- a/makefu/2configs/editor/vim.nix +++ b/makefu/2configs/editor/vim.nix @@ -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" -- cgit v1.2.3