From 7938e7e27c787ad0f5372a74b8fc349f006fda09 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sat, 12 Oct 2019 10:56:46 +0200 Subject: vim: Add syntax highlighting/indent for PureScript This probably needs a bit of refinement when it comes to indentation, but at least we get proper syntax highlighting, which is the main point here. Signed-off-by: aszlig --- pkgs/aszlig/vim/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pkgs/aszlig/vim/default.nix') diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 5a2a3962..2e5e580f 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -356,6 +356,13 @@ let install -vD -m 0644 "$downloadedFile" "$out/syntax/xt.vim" ''; }; + + purescript = fetchFromGitHub { + owner = "purescript-contrib"; + repo = "purescript-vim"; + rev = "67ca4dc4a0291e5d8c8da48bffc0f3d2c9739e7f"; + sha256 = "1insh39hzbynr6qxb215qxhpifl5m8i5i0d09a3b6v679i7s11i8"; + }; }; generic = '' -- cgit 1.4.1