GNU bug report logs - #57389
[PATCH 00/29] Vim plugin additions and updates

Previous Next

Package: guix-patches;

Reported by: "(" <paren <at> disroot.org>

Date: Wed, 24 Aug 2022 17:07:02 UTC

Owned by: Steve George <steve <at> futurile.net>

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: "(" <paren <at> disroot.org>
To: 57389 <at> debbugs.gnu.org
Cc: "\(" <paren <at> disroot.org>
Subject: [bug#57389] [PATCH 12/29] gnu: Add neovim-luasnip.
Date: Wed, 24 Aug 2022 18:08:39 +0100
* gnu/packages/vim.scm (neovim-luasnip): New variable.
---
 gnu/packages/vim.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 887f16c9bc..39622ac192 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1568,3 +1568,33 @@ (define-public neovim-hare
                ("ftplugin" "share/nvim/site/pack/guix/start/hare/")
                ("indent" "share/nvim/site/pack/guix/start/hare/")
                ("syntax" "share/nvim/site/pack/guix/start/hare/"))))))
+
+(define-public neovim-luasnip
+  (let ((commit "04f90900f2a57938921fd25169c7f282e7eefe85")
+        (revision "0"))
+    (package
+      (name "neovim-luasnip")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/L3MON4D3/LuaSnip")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "01swygai2p0ybr4zjzgzdv2r1i3z6qsxw95g9mlfk84v0rf7c62r"))))
+     (build-system copy-build-system)
+     (arguments
+      (list #:install-plan
+            #~'(("doc" "share/nvim/site/pack/guix/start/luasnip/")
+                ("ftdetect" "share/nvim/site/pack/guix/start/luasnip/")
+                ("ftplugin" "share/nvim/site/pack/guix/start/luasnip/")
+                ("lua" "share/nvim/site/pack/guix/start/luasnip/")
+                ("plugin" "share/nvim/site/pack/guix/start/luasnip/")
+                ("syntax" "share/nvim/site/pack/guix/start/luasnip/"))))
+     (home-page "https://github.com/L3MON4D3/LuaSnip")
+     (synopsis "Snippet engine for Neovim")
+     (description
+      "This package provides a code snippet engine for Neovim written
+in Lua.")
+     (license license:asl2.0))))
-- 
2.37.2





This bug report was last modified 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.