diff --git a/rc/tools/doc.kak b/rc/tools/doc.kak index b4a3b45b..c1ceef08 100644 --- a/rc/tools/doc.kak +++ b/rc/tools/doc.kak @@ -99,7 +99,7 @@ define-command -hidden doc-follow-link %{ define-command -params 1 -hidden doc-render %{ edit! -scratch "*doc-%sh{basename $1 .asciidoc}*" - execute-keys "!cat %arg{1}gg" + execute-keys "!cat '%arg{1}'gg" doc-parse-anchors