From ae4f9930d56d2d130b553b45f63b2a119e1fc9f1 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 5 Sep 2017 16:53:59 +0200 Subject: pkgs/vim: Add sleuth plugin for indent detection I work with a lot of differente repositories and different indentation styles, so I hope this plugin will help cope with that so I no longer need to set those settings manually. Signed-off-by: aszlig --- pkgs/aszlig/vim/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/aszlig') diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 5712fe84..aa1c0b47 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -273,6 +273,13 @@ let "$out/ftplugin/csv.vim" "$out/syntax/csv.vim" ''; }; + + sleuth = fetchFromGitHub { + owner = "tpope"; + repo = "vim-sleuth"; + rev = "dfe0a33253c61dd8fac455baea4ec492e6cf0fe3"; + sha256 = "0576k4l2wbzy9frvv268vdix4k6iz9pw6n6626ifvg8hk6gbc5g9"; + }; }; generic = '' -- cgit 1.4.1