Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jan 2019 22:14:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491315 - in head/editors/parinfer-rust: . files
Message-ID:  <201901262214.x0QME7lR029040@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Jan 26 22:14:07 2019
New Revision: 491315
URL: https://svnweb.freebsd.org/changeset/ports/491315

Log:
  editors/parinfer-rust: Fix Kakoune plugin for Lisp and Scheme files
  
  Add patch to not immediately remove all key hooks after adding them

Added:
  head/editors/parinfer-rust/files/patch-rc_parinfer.kak   (contents, props changed)
Modified:
  head/editors/parinfer-rust/Makefile

Modified: head/editors/parinfer-rust/Makefile
==============================================================================
--- head/editors/parinfer-rust/Makefile	Sat Jan 26 22:00:10 2019	(r491314)
+++ head/editors/parinfer-rust/Makefile	Sat Jan 26 22:14:07 2019	(r491315)
@@ -4,6 +4,7 @@ PORTNAME=	parinfer-rust
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2.0-198
 DISTVERSIONSUFFIX=	-g506ae2b
+PORTREVISION=	1
 CATEGORIES=	editors
 
 MAINTAINER=	tobik@FreeBSD.org

Added: head/editors/parinfer-rust/files/patch-rc_parinfer.kak
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/parinfer-rust/files/patch-rc_parinfer.kak	Sat Jan 26 22:14:07 2019	(r491315)
@@ -0,0 +1,11 @@
+--- rc/parinfer.kak.orig	2019-01-26 21:44:33 UTC
++++ rc/parinfer.kak
+@@ -72,7 +72,5 @@ hook -group parinfer global WinSetOption filetype=(clo
+     hook -group parinfer window NormalKey .* %{ parinfer -if-enabled -smart }
+     hook -group parinfer window InsertChar (?!\n).* %{ parinfer -if-enabled -smart }
+     hook -group parinfer window InsertDelete .* %{ parinfer -if-enabled -smart }
+-}
+-hook -group parinfer global WinSetOption filetype=(!clojure|lisp|scheme).* %{
+-    remove-hooks window parinfer
++    hook -once -always window WinSetOption filetype=.* %{ remove-hooks window parinfer }
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901262214.x0QME7lR029040>