From patchwork Wed Aug 24 17:08:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41896 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 7AB1427BBE9; Wed, 24 Aug 2022 18:10:41 +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 9E2FC27BBEB for ; Wed, 24 Aug 2022 18:10:40 +0100 (BST) Received: from localhost ([::1]:37956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQttn-0003RP-N3 for patchwork@mira.cbaines.net; Wed, 24 Aug 2022 13:10:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQttC-0003Qm-RT for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQttC-0008Vv-Ht for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQttC-0003Cp-CS for guix-patches@gnu.org; Wed, 24 Aug 2022 13:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57389] [PATCH 01/29] gnu: Add neovim-mini. References: <20220824170515.6862-1-paren@disroot.org> In-Reply-To: <20220824170515.6862-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Aug 2022 17:10:02 +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.166136096911967 (code B ref 57389); Wed, 24 Aug 2022 17:10:02 +0000 Received: (at 57389) by debbugs.gnu.org; 24 Aug 2022 17:09:29 +0000 Received: from localhost ([127.0.0.1]:48005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQtsf-00036r-7M for submit@debbugs.gnu.org; Wed, 24 Aug 2022 13:09:29 -0400 Received: from knopi.disroot.org ([178.21.23.139]:42654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQtsd-00036j-Ry for 57389@debbugs.gnu.org; Wed, 24 Aug 2022 13:09:28 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 39A7440046; Wed, 24 Aug 2022 19:09:27 +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 QainFolJaJid; Wed, 24 Aug 2022 19:09:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1661360938; bh=YG9k3W5OsHauVu7i9xgwZEY3B6gR5LkuGPBINj93NAE=; h=From:To:Cc:Subject:Date; b=kOyUdBTEvqjLLXVGW1oXvcn8bkWQXr5TEUpjlomdwzdF/J7bMYA8p1mAbEW4MsVzH 0USUKFYlBgbwxUFl3GFRIA4s8DxHgtnXHhvaeTwoOgsagcHI01j3RAR6nRq32ssu4l FisThE64NkJu3+YN7dEO7JpjWF1yPKcTbpIx52roc5yGdEIa1sAjJucu/PvJU3ol12 cNrOo2dfqfZ1uAc0ekoCCqmUsKQ5Jh7wkPHuSclNEs6mDySa+Z6gFCXYIRfQyCQfED r5KXzcuWg3orMqzUTwVUKNSHeRQqB//URVYJDsH8qrNcxBI7ZiOFW967vOSNWvxjQs c49/YNpod4HPg== Date: Wed, 24 Aug 2022 18:08:28 +0100 Message-Id: <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-mini): New variable. --- gnu/packages/vim.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index a07c681cb3..d40bc49d73 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022 Luis Henrique Gomes Higino +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -1379,3 +1380,36 @@ (define-public vim-nerdcommenter operations and styles which are invoked via key mappings and a menu. These operations are available for most filetypes.") (license license:cc0)))) + +(define-public neovim-mini + (package + (name "neovim-mini") + (version "0.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/echasnovski/mini.nvim") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dqni5q4823hmp0njlpdgbvl7zafvmn7vkka4iwsl06br9h1b908")))) + (build-system copy-build-system) + (arguments + (list #:install-plan + #~'(("colors" "share/nvim/site/pack/guix/start/mini/") + ("doc" "share/nvim/site/pack/guix/start/mini/") + ("lua" "share/nvim/site/pack/guix/start/mini/")))) + (home-page "https://github.com/echasnovski/mini.nvim") + (synopsis "Small, self contained addons for Neovim") + (description + "@code{mini} is a collection of small Neovim extensions written +in Lua, including: + +@enumerate +@item @code{mini.comment}, for commenting lines with a keybinding +@item @code{mini.complete}, an auto-completion plugin +@item @code{mini.pairs}, for auto-pairing of parentheses and quotes +@item @code{mini.starter}, a menu that appears on startup +@end enumerate") + (license license:expat)))