From d8cc50ed796d1b0c6ed087bb812e3f5480ea609b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 27 May 2017 07:40:47 +0100 Subject: [PATCH] man.kak: Rename _manpage option to manpage --- rc/core/man.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/core/man.kak b/rc/core/man.kak index dc108fbd..97a620b5 100644 --- a/rc/core/man.kak +++ b/rc/core/man.kak @@ -1,7 +1,7 @@ decl -docstring "name of the client in which documentation is to be displayed" \ str docsclient -decl -hidden str _manpage +decl -hidden str manpage hook -group man-highlight global WinSetOption filetype=man %{ add-highlighter group man-highlight @@ -17,7 +17,7 @@ hook -group man-highlight global WinSetOption filetype=man %{ hook global WinSetOption filetype=man %{ hook -group man-hooks window WinResize .* %{ - man-impl %opt{_manpage} + man-impl %opt{manpage} } } @@ -40,7 +40,7 @@ def -hidden -params 1..2 man-impl %{ %sh{ exec '%|cat${colout}gk' nop %sh{rm ${colout}} set buffer filetype man - set window _manpage '$@' + set window manpage '$@' " else printf %s\\n "echo -color Error %{man '$@' failed: see *debug* buffer for details }"