From patchwork Thu Mar 14 19:42:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 61803 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 265B727BBEA; Thu, 14 Mar 2024 19:44:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD,SPF_HELO_PASS, URIBL_BLOCKED autolearn=no 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 79AD827BBE9 for ; Thu, 14 Mar 2024 19:44:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkr09-0007Bq-Do; Thu, 14 Mar 2024 15:44:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkr06-0007Ax-K6 for guix-patches@gnu.org; Thu, 14 Mar 2024 15:44:26 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkr06-00017W-C2 for guix-patches@gnu.org; Thu, 14 Mar 2024 15:44:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkr0g-00025H-67 for guix-patches@gnu.org; Thu, 14 Mar 2024 15:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69802] [PATCH] gnu: Add vim-conjure plugin. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Mar 2024 19:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69802@debbugs.gnu.org Cc: Herman Rimm X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17104454517934 (code B ref -1); Thu, 14 Mar 2024 19:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2024 19:44:11 +0000 Received: from localhost ([127.0.0.1]:50706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkqzq-00023u-W5 for submit@debbugs.gnu.org; Thu, 14 Mar 2024 15:44:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:47312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkqzo-00023l-Oz for submit@debbugs.gnu.org; Thu, 14 Mar 2024 15:44:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkqzE-0006xI-G6 for guix-patches@gnu.org; Thu, 14 Mar 2024 15:43:32 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117] helo=email.rimm.ee) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rkqzC-0000pU-7H for guix-patches@gnu.org; Thu, 14 Mar 2024 15:43:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1710445404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yrcLLckSu7q8Tu7HsjCJF+SlXis4whlZyzscXLpavEA=; b=gUYshmnLvWS7FX2X+wtBcvljk2wmfBDlBDYMnAMF1tY/oxWKdnZzWUheMbFnj7DC+u1swG vhJPts7YB24NuYXg23eod+hsqIqUdk3l1Riba36euNzh265myZGpZn91waM31d4emeJCT+ yHJQ2DH8ktSzZcUj4/Y01L9GBz6N/Bf2yo/3kga86GEXFNq1OG1ZPS7s+qnfo+OZWYxwdA rZ6lqeuu5bxvGRp/FCguEM8HqZR1ZdNnxRlMKCT07K9qBXrP70qbr3UqZ1hBfa+ALD5/m2 rtTtFqOh4okyrqxty8otNVWy8aXl3k9xNX6N9w4PMyMi3Rikxd4A76YJuLhYWQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 0ab7ffe1 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 14 Mar 2024 19:43:23 +0000 (UTC) Date: Thu, 14 Mar 2024 20:42:35 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=81.205.150.117; envelope-from=herman@rimm.ee; helo=email.rimm.ee X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_PBL=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, T_PDS_OTHER_BAD_TLD=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vim.scm (vim-conjure): Add variable. * doc/contributing.texi (Vim and NeoVim): Add example. Change-Id: I939b95f1c4ac1e9c2c174b16a75143334b2e56b0 --- doc/contributing.texi | 5 ++++- gnu/packages/vim.scm | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) base-commit: dc4842797bfdc5f9f3f5f725bf189c2b68bd6b5a diff --git a/doc/contributing.texi b/doc/contributing.texi index a7d91724fb..afccfc6fbf 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -543,8 +543,11 @@ Vim and NeoVim In NeoVim you can even make a similar setup to Geiser using @url{https://conjure.fun/, Conjure} that lets you connect to a running Guile -process and inject your code there live (sadly it's not packaged in Guix yet). +process and inject your code there live: +@example +guix install vim-conjure +@end example @node Packaging Guidelines @section Packaging Guidelines diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 6b5eaabf8e..f6b56b7ccb 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2023 Charles Jackson ;;; Copyright © 2023 Foundation Devices, Inc. ;;; Copyright © 2023, 2024 Nguyễn Gia Phong +;;; Copyright © 2024 Herman Rimm ;;; ;;; This file is part of GNU Guix. ;;; @@ -291,6 +292,28 @@ (define-public vim-full It includes a graphical interface, @command{gvim}, and support for plugins written in the Python 3, Perl, Ruby, Tcl, and Lua programming languages."))) +(define-public vim-conjure + (package + (name "vim-conjure") + (version "4.50.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/Olical/conjure/" + "archive/refs/tags/v" version ".tar.gz")) + (sha256 + (base32 + "1njyyvzy5fc5srvldfg33nplp5akwr972x995yxlr1jqk6sskd0h")))) + (build-system vim-build-system) + (synopsis "Interactive evaluation for Neovim") + (description + "Conjure is an interactive environment for evaluating code within +your running program. The core features of Conjure are language agnostic, +with each language client providing their own extra tools. You can find a +@uref{https://github.com/Olical/conjure/wiki/Client-features, comparison +table for all clients and supported features} in the wiki.") + (home-page "https://conjure.fun/") + (license license:unlicense))) + (define-public vim-neocomplete (package (name "vim-neocomplete")