Subject: [PATCH 5/6] * gnu/packages/vim.scm (vim-zig): New variable

From: Nathan Merkley <[email-masked]>
Date: Thu, 7 Dec 2023 09:54:08 -0700

Change-Id: I90fa7377fa15a95553960aabef041ce31ce97650
---
 gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 3f8e673b69..054c23bc92 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1535,3 +1535,30 @@ (define-public vim-mundo
       (description "A Vim plugin to visualize the Vim undo tree")
       (home-page "https://simnalamburt.github.io/vim-mundo/")
       (license license:gpl2))))
+
+(define-public vim-zig
+  (let ((commit "54c216e5306a5c3878a60596aacb94dca8652ab9")
+        (revision "1"))
+    (package
+      (name "vim-zig")
+      (version (string-append "0.0.0-" revision "."
+                              (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/ziglang/zig.vim")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32 "1nxwjyn3ps3c2abffai5cql3czl4kah4cin0g30damy1k99ypncb"))))
+      (build-system vim-build-system)
+      (arguments
+       (list
+        #:plugin-name "zig.vim"))
+      (synopsis "Vim configuration for Zig")
+      (description
+       "File detection and syntax highlighting for the zig programming
+language.")
+      (home-page "https://github.com/ziglang/zig.vim")
+      (license license:expat))))
-- 
2.41.0