guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nathan Merkley
Subject: [bug#67192] [PATCH 5/6] * gnu/packages/vim.scm (vim-zig): New variable
Date: Tue, 14 Nov 2023 17:21:44 -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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]