From patchwork Wed Aug 24 17:08:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41907 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B0B7427BBEB; Wed, 24 Aug 2022 18:12:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 542FA27BBE9 for ; Wed, 24 Aug 2022 18:12:09 +0100 (BST) Received: from localhost ([::1]:45244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQtvE-0005Ys-FX for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 13:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39904) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQttJ-0003fg-Px for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQttJ-0000Hh-Dr for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQttJ-0003EZ-9k for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57389] [PATCH 15/29] gnu: Add neovim-cmp-luasnip. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 17:10:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57389 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57389@debbugs.gnu.org Cc: "\(" Received: via spool by 57389-submit@debbugs.gnu.org id=B57389.166136099112221 (code B ref 57389); Wed, 24 Aug 2022 17:10:09 +0000 Received: (at 57389) by debbugs.gnu.org; 24 Aug 2022 17:09:51 +0000 Received: from localhost ([127.0.0.1]:48055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQtt0-0003Az-VG for submit@debbugs.gnu.org; Wed, 24 Aug 2022 13:09:51 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQtsq-00038k-Vn for 57389@debbugs.gnu.org; Wed, 24 Aug 2022 13:09:41 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 55C9D400B4; Wed, 24 Aug 2022 19:09:40 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 0QWiULU96WAH; Wed, 24 Aug 2022 19:09:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661360942; bh=WHS/LxA6QUhMA5D1Fd3V3HsOZZWKsUrgBw+TmxQxMVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=EtsPCDd4gBUKdj9sdtYCQyt8IyMGvPrGw3G1nJdFqAPJKbbh6VpeSbWKbBMXo9moh APqOae2G1HplZv2tfefwVkKIw7ojhWdxKDG7MLBMAdGQKjA48ehocRRI/aZfElKKpG IA6KRsX/iEr3mqY1y88ApHKTZNifKNRuW3cQZonV5xl/VmQQqMUa+M5KQF0bbo+uuq ZIcfkQpOfOqvaFXh4Txuw7O5If3VR8Mg2MN+kTV/HMwrKnxlPD9k+AdJTedgdAaQnG pTafVtnZwF9SdOUrFz8rEVPcicr3rOBgKU5QYki85qGOFZelCBk2zQf0O+qtgd9MdN lK0imkSusVrOA== Date: Wed, 24 Aug 2022 18:08:42 +0100 Message-Id: <20220824170856.7776-15-paren@disroot.org> In-Reply-To: <20220824170856.7776-1-paren@disroot.org> References: <20220824170856.7776-1-paren@disroot.org> Mime-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * 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))))