svn commit: r491315 - in head/editors/parinfer-rust: . files

Tobias Kortkamp tobik at FreeBSD.org
Sat Jan 26 22:14:08 UTC 2019


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 at 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 }
+ }


More information about the svn-ports-head mailing list