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 15/29] gnu: Add neovim-cmp-luasnip.
Date: Wed, 24 Aug 2022 18:08:42 +0100
* gnu/packages/vim.scm (neovim-cmp-luasnip): New variable.
---
 gnu/packages/vim.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index bde1ea22ee..045cfe3c6c 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1653,3 +1653,30 @@ (define-public neovim-cmp-lsp
        "This package integrates @code{neovim-cmp} with Neovim's builtin
 Language Server Protocol client implementation.")
       (license license:expat))))
+
+(define-public neovim-cmp-luasnip
+  (let ((commit "a9de941bcbda508d0a45d28ae366bb3f08db2e36")
+        (revision "0"))
+    (package
+      (name "neovim-cmp-luasnip")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/saadparwaiz1/cmp_luasnip")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "0mh7gimav9p6cgv4j43l034dknz8szsnmrz49b2ra04yk9ihk1zj"))))
+      (build-system copy-build-system)
+      (arguments
+       (list #:install-plan
+             #~'(("after" "share/nvim/site/pack/guix/start/cmp-luasnip/")
+                 ("lua" "share/nvim/site/pack/guix/start/cmp-luasnip/"))))
+      (propagated-inputs (list neovim-cmp neovim-luasnip))
+      (home-page "https://github.com/saadparwaiz1/cmp_luasnip")
+      (synopsis "Luasnip source for neovim-cmp")
+      (description
+       "This package adds a LuaSnip source for the @code{neovim-cmp}
+completion engine, allowing auto-completion of code snippets.")
+      (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.