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
This commit is contained in:
parent
0da5cabbfe
commit
f26854694e
|
@ -16,6 +16,7 @@ def -hidden -params 1..2 doc-open %{
|
|||
exec |cat<space>${manout}<ret>gg
|
||||
nop %sh{rm ${manout}}
|
||||
set buffer filetype man
|
||||
remove-hooks window man-hooks
|
||||
"
|
||||
|
||||
if [ $# -gt 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user