about summary refs log tree commit diff
path: root/pkgs/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-07-06 05:06:47 +0200
committeraszlig <aszlig@nix.build>2021-07-09 17:48:20 +0200
commit5f6dd9bad408accbccc6b0cb1174ac9a29959876 (patch)
tree4230ab1803dc57b7e9df1917238f60d66acc76aa /pkgs/aszlig
parent63c39d417e944d4da5e424bf4f7d688a0b17cd87 (diff)
vim: Fix Fish syntax file
The file in question actually was a ZIP file, which instead of being
unpacked got directly moved to syntax/fish.vim and in turn caused errors
whenever the filetype was set to "fish".

Instead of just fixing up the ZIP file I switched to a GitHub repository
that seemed to be maintained a lot more (last commit in 2020) than the
one we had so far (last change 2013).

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig')
-rw-r--r--pkgs/aszlig/vim/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix
index ce451770..2d871c9a 100644
--- a/pkgs/aszlig/vim/default.nix
+++ b/pkgs/aszlig/vim/default.nix
@@ -245,11 +245,11 @@ let
       type = "indent";
     };
 
-    fishSyntax = fetchVimScript {
-      name = "fish";
-      srcId = 20242;
-      sha256 = "12gfmyxxf84f19bp8xfmkb9phbfkifn89sjgi8hnv6dn0a5y1zpj";
-      type = "syntax";
+    fishSyntax = fetchFromGitHub {
+      owner = "georgewitteman";
+      repo = "vim-fish";
+      rev = "667523b8fc0310b3f09492186a1e25b978ef8e5f";
+      sha256 = "1ni9bkrc2m1y7sirp57piqks3ns4yin7hi4x71pjmyrdkqnv8xr1";
     };
 
     elmVim = fetchFromGitHub {