From f26854694eae4fe1a0958cbee6a0a3e34e0e7d63 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Fri, 29 Sep 2017 22:12:09 +0300 Subject: [PATCH] rc doc: Remove window hooks automatically assigned When using the `man` filetype to make use of the text highlighters of the `man.kak` script, the documentation pages inherit from the window resizing hooks that won't work on `doc` buffers. Fixes #1591 --- rc/core/doc.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/core/doc.kak b/rc/core/doc.kak index 33b96ed9..4a8e2d4c 100644 --- a/rc/core/doc.kak +++ b/rc/core/doc.kak @@ -16,6 +16,7 @@ def -hidden -params 1..2 doc-open %{ exec |cat${manout}gg nop %sh{rm ${manout}} set buffer filetype man + remove-hooks window man-hooks " if [ $# -gt 1 ]; then